#254B08#254B08

#254B08 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.0% C 0.102 H 135.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#254B08
RGBrgb(37, 75, 8)
HSLhsl(94, 81%, 16%)
HSVhsv(94, 89%, 29%)
CMYKcmyk(50.7%, 0%, 89.3%, 70.6%)
CIE-LABlab(27.96, -26.00, 32.49)
CIE-LCHlch(27.96, 41.61, 128.66°)
OKLaboklab(37.03% -0.0727 0.0716)
OKLCHoklch(37.03% 0.102 135.4)
XYZxyz(3.3228, 5.4428, 1.1052)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B08 #2E084B
analogous
#474B08 #254B08 #084B0D
triadic
#254B08 #08254B #4B0825
tetradic
#254B08 #08474B #2E084B #4B0D08
square
#254B08 #08474B #2E084B #4B0D08
split-complementary
#254B08 #0D084B #4B0847
monochromatic
#0E1C03 #0E1C03 #254B08 #40820E #5CBA14

Accessibility & contrast

On white

10.05
#254B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#254B08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B08
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B08#FFFFFF#000000##FFFFFF
##254B081.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#24483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254b08;
/* rgb */ color: rgb(37, 75, 8);
/* oklch */ color: oklch(37.0% 0.102 135.4);
Tailwind
colors: {
  custom: {
    50: '#647d4e',
    500: '#254b08',
    950: '#000000',
  },
}
SCSS
$custom: #254b08;
$custom-light: #647d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#254b08",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 8
  },
  "hsl": {
    "h": 94.03,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37033,
    "c": 0.10207,
    "h": 135.4
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#254B08
secondary
#5E2689
accent
#31F7A1
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254B08

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

Preview Lab → · Contrast checker → · Palette generator →

#254B08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva