#254106#254106

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

Color values

HEX#254106
RGBrgb(37, 65, 6)
HSLhsl(88, 83%, 14%)
HSVhsv(88, 91%, 25%)
CMYKcmyk(43.1%, 0%, 90.8%, 74.5%)
CIE-LABlab(24.28, -21.32, 29.86)
CIE-LCHlch(24.28, 36.69, 125.53°)
OKLaboklab(34.01% -0.0603 0.0658)
OKLCHoklch(34.01% 0.089 132.5)
XYZxyz(2.6861, 4.1869, 0.8389)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254106 #220641
analogous
#414006 #254106 #074106
triadic
#254106 #062541 #410625
tetradic
#254106 #064140 #220641 #410607
square
#254106 #064140 #220641 #410607
split-complementary
#254106 #060741 #400641
monochromatic
#101C03 #101C03 #254106 #45790B #65B110

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254106#FFFFFF#000000##FFFFFF
##2541061.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)
#40390C
Tritanopia (blue-blind)
#253E36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #254106;
/* rgb */ color: rgb(37, 65, 6);
/* oklch */ color: oklch(34.0% 0.089 132.5);
Tailwind
colors: {
  custom: {
    50: '#63764c',
    500: '#254106',
    950: '#000000',
  },
}
SCSS
$custom: #254106;
$custom-light: #63764c;
$custom-dark: #000000;
JSON
{
  "hex": "#254106",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 88.475,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34011,
    "c": 0.0893,
    "h": 132.5
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#254106
secondary
#4F2281
accent
#2EF98F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254106

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

Preview Lab → · Contrast checker → · Palette generator →

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