#254C11#254C11

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

Color values

HEX#254C11
RGBrgb(37, 76, 17)
HSLhsl(100, 63%, 18%)
HSVhsv(100, 78%, 30%)
CMYKcmyk(51.3%, 0%, 77.6%, 70.2%)
CIE-LABlab(28.39, -25.79, 29.34)
CIE-LCHlch(28.39, 39.07, 131.32°)
OKLaboklab(37.4% -0.0715 0.0666)
OKLCHoklch(37.4% 0.098 137)
XYZxyz(3.4485, 5.6024, 1.4299)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C11 #38114C
analogous
#424C11 #254C11 #114C1A
triadic
#254C11 #11254C #4C1125
tetradic
#254C11 #11424C #38114C #4C1A11
square
#254C11 #11424C #38114C #4C1A11
split-complementary
#254C11 #1A114C #4C1142
monochromatic
#0C1906 #0D1A06 #254C11 #3D7E1C #56B027

Accessibility & contrast

On white

9.90
#254C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254C11
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C11#FFFFFF#000000##FFFFFF
##254C111.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254c11;
/* rgb */ color: rgb(37, 76, 17);
/* oklch */ color: oklch(37.4% 0.098 137.0);
Tailwind
colors: {
  custom: {
    50: '#647e53',
    500: '#254c11',
    950: '#000000',
  },
}
SCSS
$custom: #254c11;
$custom-light: #647e53;
$custom-dark: #000000;
JSON
{
  "hex": "#254c11",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 17
  },
  "hsl": {
    "h": 99.661,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37402,
    "c": 0.09769,
    "h": 137
  },
  "luminance": 0.05603
}

Semantic roles & 50–950 ramp

primary
#254C11
secondary
#6A3385
accent
#41E6AE
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254C11

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

Preview Lab → · Contrast checker → · Palette generator →

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