#254207#254207

#254207 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.090 H 133.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#254207
RGBrgb(37, 66, 7)
HSLhsl(89, 81%, 14%)
HSVhsv(89, 89%, 26%)
CMYKcmyk(43.9%, 0%, 89.4%, 74.1%)
CIE-LABlab(24.66, -21.75, 29.82)
CIE-LCHlch(24.66, 36.91, 126.10°)
OKLaboklab(34.32% -0.0614 0.0659)
OKLCHoklch(34.32% 0.09 133)
XYZxyz(2.7495, 4.3050, 0.8870)
Luminance0.0430 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254207 #240742
analogous
#424207 #254207 #074207
triadic
#254207 #072542 #420725
tetradic
#254207 #074242 #240742 #420707
square
#254207 #074242 #240742 #420707
split-complementary
#254207 #070742 #420742
monochromatic
#101C03 #101C03 #254207 #44790D #63B113

Accessibility & contrast

On white

11.28
#254207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#254207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254207
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254207#FFFFFF#000000##FFFFFF
##2542071.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#413A0D
Tritanopia (blue-blind)
#253F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #254207;
/* rgb */ color: rgb(37, 66, 7);
/* oklch */ color: oklch(34.3% 0.090 133.0);
Tailwind
colors: {
  custom: {
    50: '#63764c',
    500: '#254207',
    950: '#000000',
  },
}
SCSS
$custom: #254207;
$custom-light: #63764c;
$custom-dark: #000000;
JSON
{
  "hex": "#254207",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 89.492,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.3432,
    "c": 0.09004,
    "h": 133
  },
  "luminance": 0.04305
}

Semantic roles & 50–950 ramp

primary
#254207
secondary
#522481
accent
#31F792
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254207

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

Preview Lab → · Contrast checker → · Palette generator →

#254207 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva