#252F0B#252F0B

#252F0B is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.7% C 0.058 H 123.3°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#252F0B
RGBrgb(37, 47, 11)
HSLhsl(77, 62%, 11%)
HSVhsv(77, 77%, 18%)
CMYKcmyk(21.3%, 0%, 76.6%, 81.6%)
CIE-LABlab(17.69, -10.98, 20.60)
CIE-LCHlch(17.69, 23.34, 118.05°)
OKLaboklab(28.67% -0.0316 0.0482)
OKLCHoklch(28.67% 0.058 123.3)
XYZxyz(1.8399, 2.4505, 0.6926)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F0B #150B2F
analogous
#2F270B #252F0B #132F0B
triadic
#252F0B #0B252F #2F0B25
tetradic
#252F0B #0B2F27 #150B2F #2F0B13
square
#252F0B #0B2F27 #150B2F #2F0B13
split-complementary
#252F0B #0B132F #270B2F
monochromatic
#141906 #141906 #252F0B #4C6117 #739222

Accessibility & contrast

On white

14.09
#252F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#252F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252F0B
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F0B#FFFFFF#000000##FFFFFF
##252F0B1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C07
Deuteranopia (green-blind)
#312B0E
Tritanopia (blue-blind)
#272C28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #252f0b;
/* rgb */ color: rgb(37, 47, 11);
/* oklch */ color: oklch(28.7% 0.058 123.3);
Tailwind
colors: {
  custom: {
    50: '#61674c',
    500: '#252f0b',
    950: '#000000',
  },
}
SCSS
$custom: #252f0b;
$custom-light: #61674c;
$custom-dark: #000000;
JSON
{
  "hex": "#252f0b",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 76.667,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2867,
    "c": 0.05759,
    "h": 123.3
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#252F0B
secondary
#3C2A6B
accent
#43E570
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #252F0B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#252F0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva