#254005#254005

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

Color values

HEX#254005
RGBrgb(37, 64, 5)
HSLhsl(87, 86%, 14%)
HSVhsv(87, 92%, 25%)
CMYKcmyk(42.2%, 0%, 92.2%, 74.9%)
CIE-LABlab(23.90, -20.89, 29.90)
CIE-LCHlch(23.90, 36.47, 124.94°)
OKLaboklab(33.7% -0.0593 0.0658)
OKLCHoklch(33.7% 0.089 132)
XYZxyz(2.6237, 4.0709, 0.7911)
Luminance0.0407 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254005 #200540
analogous
#403D05 #254005 #074005
triadic
#254005 #052540 #400525
tetradic
#254005 #05403D #200540 #400507
square
#254005 #05403D #200540 #400507
split-complementary
#254005 #050740 #3D0540
monochromatic
#101C02 #101C02 #254005 #467909 #67B20E

Accessibility & contrast

On white

11.58
#254005 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#254005 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254005
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254005#FFFFFF#000000##FFFFFF
##2540051.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40380B
Tritanopia (blue-blind)
#263D35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #254005;
/* rgb */ color: rgb(37, 64, 5);
/* oklch */ color: oklch(33.7% 0.089 132.0);
Tailwind
colors: {
  custom: {
    50: '#63754b',
    500: '#254005',
    950: '#000000',
  },
}
SCSS
$custom: #254005;
$custom-light: #63754b;
$custom-dark: #000000;
JSON
{
  "hex": "#254005",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 5
  },
  "hsl": {
    "h": 87.458,
    "s": 85.507,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33702,
    "c": 0.08859,
    "h": 132
  },
  "luminance": 0.04071
}

Semantic roles & 50–950 ramp

primary
#254005
secondary
#4C2081
accent
#2CFC8B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254005

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

Preview Lab → · Contrast checker → · Palette generator →

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