#252E01#252E01

#252E01 is a dark, moderate yellow-green. Relative luminance 0.023; OKLCH L 28.3% C 0.066 H 120.7°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#252E01
RGBrgb(37, 46, 1)
HSLhsl(72, 96%, 9%)
HSVhsv(72, 98%, 18%)
CMYKcmyk(19.6%, 0%, 97.8%, 82%)
CIE-LABlab(17.22, -11.29, 24.11)
CIE-LCHlch(17.22, 26.63, 115.09°)
OKLaboklab(28.26% -0.0339 0.057)
OKLCHoklch(28.26% 0.066 120.7)
XYZxyz(1.7455, 2.3495, 0.3903)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E01 #0A012E
analogous
#2E2101 #252E01 #0F2E01
triadic
#252E01 #01252E #2E0125
tetradic
#252E01 #012E21 #0A012E #2E010F
square
#252E01 #012E21 #0A012E #2E010F
split-complementary
#252E01 #010F2E #21012E
monochromatic
#181E01 #181E01 #252E01 #556A02 #85A604

Accessibility & contrast

On white

14.29
#252E01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252E01
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E01#FFFFFF#000000##FFFFFF
##252E011.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252e01;
/* rgb */ color: rgb(37, 46, 1);
/* oklch */ color: oklch(28.3% 0.066 120.7);
Tailwind
colors: {
  custom: {
    50: '#616647',
    500: '#252e01',
    950: '#000000',
  },
}
SCSS
$custom: #252e01;
$custom-light: #616647;
$custom-dark: #000000;
JSON
{
  "hex": "#252e01",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 1
  },
  "hsl": {
    "h": 72,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.28258,
    "c": 0.06636,
    "h": 120.7
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#252E01
secondary
#291774
accent
#29FF54
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050600
muted
#797A77

Preview Lab

Preview with #252E01

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

Preview Lab → · Contrast checker → · Palette generator →

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