#252E08#252E08

#252E08 is a dark, muted yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.059 H 121.8°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#252E08
RGBrgb(37, 46, 8)
HSLhsl(74, 70%, 11%)
HSVhsv(74, 83%, 18%)
CMYKcmyk(19.6%, 0%, 82.6%, 82%)
CIE-LABlab(17.30, -10.64, 21.35)
CIE-LCHlch(17.30, 23.86, 116.50°)
OKLaboklab(28.34% -0.031 0.0501)
OKLCHoklch(28.34% 0.059 121.8)
XYZxyz(1.7838, 2.3648, 0.5922)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E08 #11082E
analogous
#2E2408 #252E08 #122E08
triadic
#252E08 #08252E #2E0825
tetradic
#252E08 #082E24 #11082E #2E0812
square
#252E08 #082E24 #11082E #2E0812
split-complementary
#252E08 #08122E #24082E
monochromatic
#151A05 #151A05 #252E08 #4F6211 #79961A

Accessibility & contrast

On white

14.26
#252E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252E08
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E08#FFFFFF#000000##FFFFFF
##252E081.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B04
Deuteranopia (green-blind)
#302B0B
Tritanopia (blue-blind)
#272B26
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #252e08;
/* rgb */ color: rgb(37, 46, 8);
/* oklch */ color: oklch(28.3% 0.059 121.8);
Tailwind
colors: {
  custom: {
    50: '#61664b',
    500: '#252e08',
    950: '#000000',
  },
}
SCSS
$custom: #252e08;
$custom-light: #61664b;
$custom-dark: #000000;
JSON
{
  "hex": "#252e08",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 8
  },
  "hsl": {
    "h": 74.211,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28339,
    "c": 0.05894,
    "h": 121.8
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#252E08
secondary
#36256D
accent
#3BED65
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #252E08

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

Preview Lab → · Contrast checker → · Palette generator →

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