#254104#254104

#254104 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.0% C 0.091 H 132.2°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#254104
RGBrgb(37, 65, 4)
HSLhsl(88, 88%, 14%)
HSVhsv(88, 94%, 25%)
CMYKcmyk(43.1%, 0%, 93.8%, 74.5%)
CIE-LABlab(24.27, -21.47, 30.66)
CIE-LCHlch(24.27, 37.43, 125.00°)
OKLaboklab(33.99% -0.0609 0.0672)
OKLCHoklch(33.99% 0.091 132.2)
XYZxyz(2.6751, 4.1826, 0.7812)
Luminance0.0418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254104 #200441
analogous
#413E04 #254104 #064104
triadic
#254104 #042541 #410425
tetradic
#254104 #04413E #200441 #410406
square
#254104 #04413E #200441 #410406
split-complementary
#254104 #040641 #3E0441
monochromatic
#101D02 #101D02 #254104 #467B08 #67B40B

Accessibility & contrast

On white

11.43
#254104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#254104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254104
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254104#FFFFFF#000000##FFFFFF
##2541041.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#40390B
Tritanopia (blue-blind)
#263E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #254104;
/* rgb */ color: rgb(37, 65, 4);
/* oklch */ color: oklch(34.0% 0.091 132.2);
Tailwind
colors: {
  custom: {
    50: '#63764b',
    500: '#254104',
    950: '#000000',
  },
}
SCSS
$custom: #254104;
$custom-light: #63764b;
$custom-dark: #000000;
JSON
{
  "hex": "#254104",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 87.541,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33995,
    "c": 0.09072,
    "h": 132.2
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#254104
secondary
#4C1F82
accent
#29FF8B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254104

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

Preview Lab → · Contrast checker → · Palette generator →

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