#252F12#252F12

#252F12 is a dark, muted yellow-green. Relative luminance 0.025; OKLCH L 28.8% C 0.050 H 125.1°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#252F12
RGBrgb(37, 47, 18)
HSLhsl(81, 45%, 13%)
HSVhsv(81, 62%, 18%)
CMYKcmyk(21.3%, 0%, 61.7%, 81.6%)
CIE-LABlab(17.78, -10.19, 17.08)
CIE-LCHlch(17.78, 19.89, 120.81°)
OKLaboklab(28.77% -0.0286 0.0406)
OKLCHoklch(28.77% 0.05 125.1)
XYZxyz(1.8886, 2.4700, 0.9494)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252F12 #1C122F
analogous
#2F2A12 #252F12 #162F12
triadic
#252F12 #12252F #2F1225
tetradic
#252F12 #122F2A #1C122F #2F1216
square
#252F12 #122F2A #1C122F #2F1216
split-complementary
#252F12 #12162F #2A122F
monochromatic
#111608 #111608 #252F12 #485B23 #6B8834

Accessibility & contrast

On white

14.06
#252F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252F12
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252F12#FFFFFF#000000##FFFFFF
##252F121.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0F
Deuteranopia (green-blind)
#302B14
Tritanopia (blue-blind)
#272D28
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #252f12;
/* rgb */ color: rgb(37, 47, 18);
/* oklch */ color: oklch(28.8% 0.050 125.1);
Tailwind
colors: {
  custom: {
    50: '#606750',
    500: '#252f12',
    950: '#000000',
  },
}
SCSS
$custom: #252f12;
$custom-light: #606750;
$custom-dark: #000000;
JSON
{
  "hex": "#252f12",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 80.69,
    "s": 44.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2877,
    "c": 0.04964,
    "h": 125.1
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#252F12
secondary
#473667
accent
#53D480
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #252F12

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

Preview Lab → · Contrast checker → · Palette generator →

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