Skip to content

#024b0f

a deep, electric green · cool · closest name: Dark Green

RGB
2, 75, 15
HSL
131°, 95%, 15%
CMYK
97, 0, 80, 71
Luminance
0.0508

At a glance

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

Hex
#024b0f
Hue
131°
green
Saturation
95%
electric
Lightness
15%
deep
Brightness
29%
HSV value
Perceived
23%
weighted brightness
Luminance
0.0508
WCAG relative
Temperature
Cool
67/100 cool
Color family
Green
Tone
Electric
Best ink
White
10.42:1
Closest name
Dark Green
ΔE2000 8.9
Where it sits
Hue131° of 360°
Saturation95%
Lightness15%
Temperature
Warm ← → Cool67% 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#024b0f
RGBrgb(2, 75, 15)
HSLhsl(131, 95%, 15%)
CMYKcmyk(97%, 0%, 80%, 71%)
LABlab(27.0 -34.0 28.4)
LCHlch(27.0 44.3 140.1)
OKLCHoklch(0.359 0.112 144.8)
Decimal150287
Display P3color(display-p3 0.008 0.294 0.059)

Copy-ready code

/* CSS */
color: #024b0f;
background-color: #024b0f;
/* Tailwind (arbitrary) */
class="text-[#024b0f] bg-[#024b0f]"
/* SCSS */
$brand: #024b0f;
/* SwiftUI */
Color(red: 0.008, green: 0.294, blue: 0.059)
/* Android */
Color.parseColor("#024b0f")
/* Flutter */
Color(0xFF024B0F)
/* Python / OpenCV (BGR) */
(15, 75, 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 #024b0f · 10.42:1
Use #ffffffAAA at every size.
Aa
White text · 10.42:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.02:1
AA fail · AA large fail · AAA fail
Reading the other direction: #024b0f as text scores 10.42:1 on white and 2.02:1 on black.

Accessibility — WCAG contrast

Aa
#024b0f on white: 10.42:1
AA ✓ pass · AA-large · AAA
Aa
#024b0f on black: 2.02:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #4C4305
deuteranopia · #453E15
tritanopia · #00493F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #024b0f 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.

#F1FDF4
#E4FBE8
#C2FACC
#92FCA5
#5BFB78
#24F94A
#06EE30
#05C728
#049F20
#08731B
#024b0f
Base = 950Lightest = 50 · #F1FDF4Darkest = 950 · #024b0f
:root {
  --brand-50: #F1FDF4;
  --brand-100: #E4FBE8;
  --brand-200: #C2FACC;
  --brand-300: #92FCA5;
  --brand-400: #5BFB78;
  --brand-500: #24F94A;
  --brand-600: #06EE30;
  --brand-700: #05C728;
  --brand-800: #049F20;
  --brand-900: #08731B;
  --brand-950: #024b0f;
  --brand: #024b0f;
  --brand-ink: #ffffff;
}

Colors that work with #024b0f

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#F4FAF5
Tinted page background
Border#C0EDC8
Hairlines and dividers
Muted text#4B9B59
Captions on the surface
Accent#47004D
Second voice, not a rival
Dark variant#037C19
Hover, pressed, headers
Light variant#E6FEEA
Selected rows, tints
Dark surface#142417
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 #024b0f

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#4B023E
Analogous left#194B02
Analogous right#024B34
Split-complement 1#34024B
Split-complement 2#4B0219
Triadic 1#0F024B
Triadic 2#4B0F02
Tetradic#02194B

RGB percentages

Red0.8%
Green29.4%
Blue5.9%

CMYK percentages

Cyan97.3%
Magenta0.0%
Yellow80.0%
Key (black)70.6%

Color previews

#024b0f text on a black background

contrast 2.02:1

Card sample

#024b0f text on a white background

contrast 10.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(2, 75, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(2, 75, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #024b0f;
background: linear-gradient(135deg, #024b0f, #024B40);

Monochromatic scale

Palettes built from #024b0f

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.

#024b0f 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.

#024b0f, answered

What color is #024b0f?

#024b0f is a deep electric green, closest to Dark Green (ΔE2000 8.9). It sits at 131° on the hue wheel with 95% saturation and 15% lightness, which reads as cool.

What is the RGB value of #024b0f?

rgb(2, 75, 15) — 2 red, 75 green and 15 blue out of 255, or 0.8% / 29.4% / 5.9% by channel.

Is #024b0f a light or a dark color?

It is a dark color. Relative luminance is 0.0508 and perceived brightness is 23%, so white text on it reaches 10.42:1.

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

White. It scores 10.42:1 against #024b0f, versus 2.02:1 for black — AAA at any size.

What is the complementary color of #024b0f?

#4B023E sits directly opposite on the wheel. Softer options are the split-complements #34024B and #4B0219, which give the same contrast with far less vibration.

What colors go well with #024b0f?

For interface work: #F4FAF5 as the surface, #C0EDC8 for borders, #4B9B59 for secondary text, #47004D as an accent and #037C19 for hover and pressed states. For a palette, the analogous pair #194B02 and #024B34 stays calm, while #4B023E is the loudest partner.

What is #024b0f in CMYK for printing?

cmyk(97%, 0%, 80%, 71%). 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 #024b0f warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #104B02; nudged cooler, #014C2A.

Work with #024b0f in the Color Lab