Skip to content

#024f32

a deep, electric green · cool · closest name: Dark Slate Gray

RGB
2, 79, 50
HSL
157°, 95%, 16%
CMYK
98, 0, 37, 69
Luminance
0.0584

At a glance

Every number on this page in one read: what #024f32 is made of, how bright it looks, and which way it leans.

Hex
#024f32
Hue
157°
green
Saturation
95%
electric
Lightness
16%
deep
Brightness
31%
HSV value
Perceived
25%
weighted brightness
Luminance
0.0584
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Electric
Best ink
White
9.69:1
Closest name
Dark Slate Gray
ΔE2000 14.1
Where it sits
Hue157° of 360°
Saturation95%
Lightness16%
Temperature
Warm ← → Cool78% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#024f32
RGBrgb(2, 79, 50)
HSLhsl(157, 95%, 16%)
CMYKcmyk(98%, 0%, 37%, 69%)
LABlab(29.0 -29.2 11.3)
LCHlch(29.0 31.3 158.9)
OKLCHoklch(0.378 0.084 160.2)
Decimal151346
Display P3color(display-p3 0.008 0.310 0.196)

Copy-ready code

/* CSS */
color: #024f32;
background-color: #024f32;
/* Tailwind (arbitrary) */
class="text-[#024f32] bg-[#024f32]"
/* SCSS */
$brand: #024f32;
/* SwiftUI */
Color(red: 0.008, green: 0.310, blue: 0.196)
/* Android */
Color.parseColor("#024f32")
/* Flutter */
Color(0xFF024F32)
/* Python / OpenCV (BGR) */
(50, 79, 2)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #024f32 · 9.69:1
Use #ffffffAAA at every size.
Aa
White text · 9.69:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.17:1
AA fail · AA large fail · AAA fail
Reading the other direction: #024f32 as text scores 9.69:1 on white and 2.17:1 on black.

Accessibility — WCAG contrast

Aa
#024f32 on white: 9.69:1
AA ✓ pass · AA-large · AAA
Aa
#024f32 on black: 2.17:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4E4830
deuteranopia · #454234
tritanopia · #004F47

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #024f32 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F1FDF9
#E4FBF3
#C2FAE5
#92FCD4
#5BFBBF
#24FAA9
#06EF97
#05C77E
#049F65
#08734A
#024f32
Base = 950Lightest = 50 · #F1FDF9Darkest = 950 · #024f32
:root {
  --brand-50: #F1FDF9;
  --brand-100: #E4FBF3;
  --brand-200: #C2FAE5;
  --brand-300: #92FCD4;
  --brand-400: #5BFBBF;
  --brand-500: #24FAA9;
  --brand-600: #06EF97;
  --brand-700: #05C77E;
  --brand-800: #049F65;
  --brand-900: #08734A;
  --brand-950: #024f32;
  --brand: #024f32;
  --brand-ink: #ffffff;
}

Colors that work with #024f32

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4FAF8
Tinted page background
Border#C0EDDC
Hairlines and dividers
Muted text#4B9B7D
Captions on the surface
Accent#510033
Second voice, not a rival
Dark variant#037C4F
Hover, pressed, headers
Light variant#E6FEF5
Selected rows, tints
Dark surface#14241E
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #024f32

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#4F021F
Analogous left#024F0B
Analogous right#02464F
Split-complement 1#4F0246
Split-complement 2#4F0B02
Triadic 1#32024F
Triadic 2#4F3202
Tetradic#0B024F

RGB percentages

Red0.8%
Green31.0%
Blue19.6%

CMYK percentages

Cyan97.5%
Magenta0.0%
Yellow36.7%
Key (black)69.0%

Color previews

#024f32 text on a black background

contrast 2.17:1

Card sample

#024f32 text on a white background

contrast 9.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #024f32;
Background color
Panel with #024f32 background
background-color: #024f32;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #024f32;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(2, 79, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 79, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #024f32;
background: linear-gradient(135deg, #024f32, #02394F);

Monochromatic scale

Palettes built from #024f32

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#024f32 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#024f32, answered

What color is #024f32?

#024f32 is a deep electric green, closest to Dark Slate Gray (ΔE2000 14.1). It sits at 157° on the hue wheel with 95% saturation and 16% lightness, which reads as cool.

What is the RGB value of #024f32?

rgb(2, 79, 50) — 2 red, 79 green and 50 blue out of 255, or 0.8% / 31% / 19.6% by channel.

Is #024f32 a light or a dark color?

It is a dark color. Relative luminance is 0.0584 and perceived brightness is 25%, so white text on it reaches 9.69:1.

Should I use black or white text on #024f32?

White. It scores 9.69:1 against #024f32, versus 2.17:1 for black — AAA at any size.

What is the complementary color of #024f32?

#4F021F sits directly opposite on the wheel. Softer options are the split-complements #4F0246 and #4F0B02, which give the same contrast with far less vibration.

What colors go well with #024f32?

For interface work: #F4FAF8 as the surface, #C0EDDC for borders, #4B9B7D for secondary text, #510033 as an accent and #037C4F for hover and pressed states. For a palette, the analogous pair #024F0B and #02464F stays calm, while #4F021F is the loudest partner.

What is #024f32 in CMYK for printing?

cmyk(98%, 0%, 37%, 69%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #024f32 warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #024F16; nudged cooler, #01504F.

Work with #024f32 in the Color Lab