#252E02#252E02

#252E02 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.065 H 120.9°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#252E02
RGBrgb(37, 46, 2)
HSLhsl(72, 92%, 9%)
HSVhsv(72, 96%, 18%)
CMYKcmyk(19.6%, 0%, 95.7%, 82%)
CIE-LABlab(17.23, -11.20, 23.72)
CIE-LCHlch(17.23, 26.23, 115.27°)
OKLaboklab(28.27% -0.0335 0.056)
OKLCHoklch(28.27% 0.065 120.9)
XYZxyz(1.7509, 2.3517, 0.4191)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E02 #0B022E
analogous
#2E2102 #252E02 #0F2E02
triadic
#252E02 #02252E #2E0225
tetradic
#252E02 #022E21 #0B022E #2E020F
square
#252E02 #022E21 #0B022E #2E020F
split-complementary
#252E02 #020F2E #21022E
monochromatic
#181D01 #181D01 #252E02 #546905 #83A307

Accessibility & contrast

On white

14.28
#252E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#252E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E02
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E02#FFFFFF#000000##FFFFFF
##252E021.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#312A05
Tritanopia (blue-blind)
#282B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #252e02;
/* rgb */ color: rgb(37, 46, 2);
/* oklch */ color: oklch(28.3% 0.065 120.9);
Tailwind
colors: {
  custom: {
    50: '#616648',
    500: '#252e02',
    950: '#000000',
  },
}
SCSS
$custom: #252e02;
$custom-light: #616648;
$custom-dark: #000000;
JSON
{
  "hex": "#252e02",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 2
  },
  "hsl": {
    "h": 72.273,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.2827,
    "c": 0.06525,
    "h": 120.9
  },
  "luminance": 0.02352
}

Semantic roles & 50–950 ramp

primary
#252E02
secondary
#2B1973
accent
#29FF55
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #252E02

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

Preview Lab → · Contrast checker → · Palette generator →

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