#254C0E#254C0E

#254C0E is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.4% C 0.100 H 136.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#254C0E
RGBrgb(37, 76, 14)
HSLhsl(98, 69%, 18%)
HSVhsv(98, 82%, 30%)
CMYKcmyk(51.3%, 0%, 81.6%, 70.2%)
CIE-LABlab(28.36, -26.05, 30.61)
CIE-LCHlch(28.36, 40.19, 130.40°)
OKLaboklab(37.38% -0.0724 0.0687)
OKLCHoklch(37.38% 0.1 136.5)
XYZxyz(3.4266, 5.5937, 1.3145)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C0E #350E4C
analogous
#444C0E #254C0E #0E4C16
triadic
#254C0E #0E254C #4C0E25
tetradic
#254C0E #0E444C #350E4C #4C160E
square
#254C0E #0E444C #350E4C #4C160E
split-complementary
#254C0E #160E4C #4C0E44
monochromatic
#0D1A05 #0D1A05 #254C0E #3E8018 #57B321

Accessibility & contrast

On white

9.91
#254C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254C0E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C0E#FFFFFF#000000##FFFFFF
##254C0E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254c0e;
/* rgb */ color: rgb(37, 76, 14);
/* oklch */ color: oklch(37.4% 0.100 136.5);
Tailwind
colors: {
  custom: {
    50: '#647e51',
    500: '#254c0e',
    950: '#000000',
  },
}
SCSS
$custom: #254c0e;
$custom-light: #647e51;
$custom-dark: #000000;
JSON
{
  "hex": "#254c0e",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 14
  },
  "hsl": {
    "h": 97.742,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37376,
    "c": 0.09984,
    "h": 136.5
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#254C0E
secondary
#662F87
accent
#3CECAB
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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