#252E12#252E12

#252E12 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.5% C 0.048 H 124.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#252E12
RGBrgb(37, 46, 18)
HSLhsl(79, 44%, 13%)
HSVhsv(79, 61%, 18%)
CMYKcmyk(19.6%, 0%, 60.9%, 82%)
CIE-LABlab(17.42, -9.57, 16.64)
CIE-LCHlch(17.42, 19.20, 119.90°)
OKLaboklab(28.48% -0.0268 0.0396)
OKLCHoklch(28.48% 0.048 124.1)
XYZxyz(1.8491, 2.3910, 0.9362)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E12 #1B122E
analogous
#2E2912 #252E12 #172E12
triadic
#252E12 #12252E #2E1225
tetradic
#252E12 #122E29 #1B122E #2E1217
square
#252E12 #122E29 #1B122E #2E1217
split-complementary
#252E12 #12172E #29122E
monochromatic
#121609 #121609 #252E12 #485A23 #6C8634

Accessibility & contrast

On white

14.21
#252E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#252E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E12
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E12#FFFFFF#000000##FFFFFF
##252E121.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B10
Deuteranopia (green-blind)
#2F2B14
Tritanopia (blue-blind)
#272C28
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #252e12;
/* rgb */ color: rgb(37, 46, 18);
/* oklch */ color: oklch(28.5% 0.048 124.1);
Tailwind
colors: {
  custom: {
    50: '#606650',
    500: '#252e12',
    950: '#000000',
  },
}
SCSS
$custom: #252e12;
$custom-light: #606650;
$custom-dark: #000000;
JSON
{
  "hex": "#252e12",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 79.286,
    "s": 43.75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28477,
    "c": 0.04787,
    "h": 124.1
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#252E12
secondary
#453666
accent
#54D37D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #252E12

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

Preview Lab → · Contrast checker → · Palette generator →

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