#252E04#252E04

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

Color values

HEX#252E04
RGBrgb(37, 46, 4)
HSLhsl(73, 84%, 10%)
HSVhsv(73, 91%, 18%)
CMYKcmyk(19.6%, 0%, 91.3%, 82%)
CIE-LABlab(17.25, -11.01, 22.93)
CIE-LCHlch(17.25, 25.44, 115.65°)
OKLaboklab(28.29% -0.0326 0.054)
OKLCHoklch(28.29% 0.063 121.1)
XYZxyz(1.7619, 2.3561, 0.4768)
Luminance0.0236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E04 #0D042E
analogous
#2E2204 #252E04 #102E04
triadic
#252E04 #04252E #2E0425
tetradic
#252E04 #042E22 #0D042E #2E0410
square
#252E04 #042E22 #0D042E #2E0410
split-complementary
#252E04 #04102E #22042E
monochromatic
#171C02 #171C02 #252E04 #526609 #809F0E

Accessibility & contrast

On white

14.27
#252E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252E04
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E04#FFFFFF#000000##FFFFFF
##252E041.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252e04;
/* rgb */ color: rgb(37, 46, 4);
/* oklch */ color: oklch(28.3% 0.063 121.1);
Tailwind
colors: {
  custom: {
    50: '#616649',
    500: '#252e04',
    950: '#000000',
  },
}
SCSS
$custom: #252e04;
$custom-light: #616649;
$custom-dark: #000000;
JSON
{
  "hex": "#252e04",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 4
  },
  "hsl": {
    "h": 72.857,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28293,
    "c": 0.06308,
    "h": 121.1
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#252E04
secondary
#2F1D71
accent
#2EFA59
background
#F5F6F4
surface
#EAEBE6
border
#C6C6C2
text
#050601
muted
#797A77

Preview Lab

Preview with #252E04

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

Preview Lab → · Contrast checker → · Palette generator →

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