#252D04#252D04

#252D04 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.0% C 0.062 H 120.2°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#252D04
RGBrgb(37, 45, 4)
HSLhsl(72, 84%, 10%)
HSVhsv(72, 91%, 18%)
CMYKcmyk(17.8%, 0%, 91.1%, 82.4%)
CIE-LABlab(16.89, -10.40, 22.48)
CIE-LCHlch(16.89, 24.77, 114.83°)
OKLaboklab(28% -0.031 0.0533)
OKLCHoklch(28% 0.062 120.2)
XYZxyz(1.7233, 2.2789, 0.4639)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D04 #0C042D
analogous
#2D2104 #252D04 #112D04
triadic
#252D04 #04252D #2D0425
tetradic
#252D04 #042D21 #0C042D #2D0411
square
#252D04 #042D21 #0C042D #2D0411
split-complementary
#252D04 #04112D #21042D
monochromatic
#171C02 #171C02 #252D04 #536509 #819D0E

Accessibility & contrast

On white

14.43
#252D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#252D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D04
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D04#FFFFFF#000000##FFFFFF
##252D041.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#302A07
Tritanopia (blue-blind)
#282A25
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #252d04;
/* rgb */ color: rgb(37, 45, 4);
/* oklch */ color: oklch(28.0% 0.062 120.2);
Tailwind
colors: {
  custom: {
    50: '#616549',
    500: '#252d04',
    950: '#000000',
  },
}
SCSS
$custom: #252d04;
$custom-light: #616549;
$custom-dark: #000000;
JSON
{
  "hex": "#252d04",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 71.707,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27997,
    "c": 0.06162,
    "h": 120.2
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#252D04
secondary
#2D1D70
accent
#2EFA56
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050501
muted
#797A77

Preview Lab

Preview with #252D04

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

Preview Lab → · Contrast checker → · Palette generator →

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