#254C0A#254C0A

#254C0A is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.3% C 0.102 H 135.9°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#254C0A
RGBrgb(37, 76, 10)
HSLhsl(95, 77%, 17%)
HSVhsv(95, 87%, 30%)
CMYKcmyk(51.3%, 0%, 86.8%, 70.2%)
CIE-LABlab(28.34, -26.33, 32.11)
CIE-LCHlch(28.34, 41.53, 129.35°)
OKLaboklab(37.35% -0.0735 0.0712)
OKLCHoklch(37.35% 0.102 135.9)
XYZxyz(3.4021, 5.5839, 1.1856)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C0A #310A4C
analogous
#464C0A #254C0A #0A4C10
triadic
#254C0A #0A254C #4C0A25
tetradic
#254C0A #0A464C #310A4C #4C100A
square
#254C0A #0A464C #310A4C #4C100A
split-complementary
#254C0A #100A4C #4C0A46
monochromatic
#0D1B04 #0D1B04 #254C0A #3F8211 #5AB818

Accessibility & contrast

On white

9.92
#254C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#254C0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C0A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C0A#FFFFFF#000000##FFFFFF
##254C0A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4500
Deuteranopia (green-blind)
#4A4212
Tritanopia (blue-blind)
#234940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254c0a;
/* rgb */ color: rgb(37, 76, 10);
/* oklch */ color: oklch(37.3% 0.102 135.9);
Tailwind
colors: {
  custom: {
    50: '#647e4f',
    500: '#254c0a',
    950: '#000000',
  },
}
SCSS
$custom: #254c0a;
$custom-light: #647e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#254c0a",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 10
  },
  "hsl": {
    "h": 95.455,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.10231,
    "h": 135.9
  },
  "luminance": 0.05584
}

Semantic roles & 50–950 ramp

primary
#254C0A
secondary
#622989
accent
#35F3A5
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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