#254308#254308

#254308 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.091 H 133.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#254308
RGBrgb(37, 67, 8)
HSLhsl(91, 79%, 15%)
HSVhsv(91, 88%, 26%)
CMYKcmyk(44.8%, 0%, 88.1%, 73.7%)
CIE-LABlab(25.03, -22.17, 29.77)
CIE-LCHlch(25.03, 37.12, 126.68°)
OKLaboklab(34.63% -0.0624 0.0659)
OKLCHoklch(34.63% 0.091 133.4)
XYZxyz(2.8139, 4.4250, 0.9355)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254308 #260843
analogous
#434308 #254308 #084308
triadic
#254308 #082543 #430825
tetradic
#254308 #084343 #260843 #430808
square
#254308 #084343 #260843 #430808
split-complementary
#254308 #080843 #430843
monochromatic
#0F1B03 #0F1B03 #254308 #437A0F #61B015

Accessibility & contrast

On white

11.14
#254308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#254308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254308
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254308#FFFFFF#000000##FFFFFF
##2543081.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#423B0E
Tritanopia (blue-blind)
#254038
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #254308;
/* rgb */ color: rgb(37, 67, 8);
/* oklch */ color: oklch(34.6% 0.091 133.4);
Tailwind
colors: {
  custom: {
    50: '#63774d',
    500: '#254308',
    950: '#000000',
  },
}
SCSS
$custom: #254308;
$custom-light: #63774d;
$custom-dark: #000000;
JSON
{
  "hex": "#254308",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 90.508,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.0908,
    "h": 133.4
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#254308
secondary
#542581
accent
#33F596
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050801
muted
#7A7B77

Preview Lab

Preview with #254308

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

Preview Lab → · Contrast checker → · Palette generator →

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