#254007#254007

#254007 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.7% C 0.087 H 132.3°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#254007
RGBrgb(37, 64, 7)
HSLhsl(88, 80%, 14%)
HSVhsv(88, 89%, 25%)
CMYKcmyk(42.2%, 0%, 89.1%, 74.9%)
CIE-LABlab(23.92, -20.74, 29.10)
CIE-LCHlch(23.92, 35.73, 125.48°)
OKLaboklab(33.72% -0.0587 0.0644)
OKLCHoklch(33.72% 0.087 132.3)
XYZxyz(2.6347, 4.0753, 0.8488)
Luminance0.0408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254007 #220740
analogous
#403F07 #254007 #094007
triadic
#254007 #072540 #400725
tetradic
#254007 #07403F #220740 #400709
square
#254007 #07403F #220740 #400709
split-complementary
#254007 #070940 #3F0740
monochromatic
#101C03 #101C03 #254007 #45770D #65AE13

Accessibility & contrast

On white

11.57
#254007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#254007 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254007
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254007#FFFFFF#000000##FFFFFF
##2540071.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#253D35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #254007;
/* rgb */ color: rgb(37, 64, 7);
/* oklch */ color: oklch(33.7% 0.087 132.3);
Tailwind
colors: {
  custom: {
    50: '#63754c',
    500: '#254007',
    950: '#000000',
  },
}
SCSS
$custom: #254007;
$custom-light: #63754c;
$custom-dark: #000000;
JSON
{
  "hex": "#254007",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 7
  },
  "hsl": {
    "h": 88.421,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33718,
    "c": 0.08715,
    "h": 132.3
  },
  "luminance": 0.04075
}

Semantic roles & 50–950 ramp

primary
#254007
secondary
#4F247F
accent
#31F78F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254007

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

Preview Lab → · Contrast checker → · Palette generator →

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