#254108#254108

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

Color values

HEX#254108
RGBrgb(37, 65, 8)
HSLhsl(89, 78%, 14%)
HSVhsv(89, 88%, 25%)
CMYKcmyk(43.1%, 0%, 87.7%, 74.5%)
CIE-LABlab(24.29, -21.18, 29.06)
CIE-LCHlch(24.29, 35.96, 126.08°)
OKLaboklab(34.03% -0.0597 0.0645)
OKLCHoklch(34.03% 0.088 132.8)
XYZxyz(2.6970, 4.1913, 0.8966)
Luminance0.0419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254108 #240841
analogous
#414108 #254108 #084108
triadic
#254108 #082541 #410825
tetradic
#254108 #084141 #240841 #410808
square
#254108 #084141 #240841 #410808
split-complementary
#254108 #080841 #410841
monochromatic
#101B03 #101B03 #254108 #44770F #63AE15

Accessibility & contrast

On white

11.42
#254108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254108
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254108#FFFFFF#000000##FFFFFF
##2541081.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254108;
/* rgb */ color: rgb(37, 65, 8);
/* oklch */ color: oklch(34.0% 0.088 132.8);
Tailwind
colors: {
  custom: {
    50: '#63764d',
    500: '#254108',
    950: '#000000',
  },
}
SCSS
$custom: #254108;
$custom-light: #63764d;
$custom-dark: #000000;
JSON
{
  "hex": "#254108",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 89.474,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34027,
    "c": 0.08791,
    "h": 132.8
  },
  "luminance": 0.04191
}

Semantic roles & 50–950 ramp

primary
#254108
secondary
#52257F
accent
#33F592
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254108

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

Preview Lab → · Contrast checker → · Palette generator →

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