#254C0D#254C0D

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

Color values

HEX#254C0D
RGBrgb(37, 76, 13)
HSLhsl(97, 71%, 17%)
HSVhsv(97, 83%, 30%)
CMYKcmyk(51.3%, 0%, 82.9%, 70.2%)
CIE-LABlab(28.36, -26.12, 31.00)
CIE-LCHlch(28.36, 40.54, 130.12°)
OKLaboklab(37.37% -0.0727 0.0694)
OKLCHoklch(37.37% 0.101 136.3)
XYZxyz(3.4199, 5.5910, 1.2797)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C0D #340D4C
analogous
#454C0D #254C0D #0D4C15
triadic
#254C0D #0D254C #4C0D25
tetradic
#254C0D #0D454C #340D4C #4C150D
square
#254C0D #0D454C #340D4C #4C150D
split-complementary
#254C0D #150D4C #4C0D45
monochromatic
#0D1A04 #0D1A04 #254C0D #3E8016 #58B51F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254C0D#FFFFFF#000000##FFFFFF
##254C0D1.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)
#4F4502
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#234940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254c0d;
/* rgb */ color: rgb(37, 76, 13);
/* oklch */ color: oklch(37.4% 0.101 136.3);
Tailwind
colors: {
  custom: {
    50: '#647e51',
    500: '#254c0d',
    950: '#000000',
  },
}
SCSS
$custom: #254c0d;
$custom-light: #647e51;
$custom-dark: #000000;
JSON
{
  "hex": "#254c0d",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 97.143,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37368,
    "c": 0.1005,
    "h": 136.3
  },
  "luminance": 0.05591
}

Semantic roles & 50–950 ramp

primary
#254C0D
secondary
#652E87
accent
#3AEEA9
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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