#254B11#254B11

#254B11 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.1% C 0.096 H 136.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#254B11
RGBrgb(37, 75, 17)
HSLhsl(99, 63%, 18%)
HSVhsv(99, 77%, 29%)
CMYKcmyk(50.7%, 0%, 77.3%, 70.6%)
CIE-LABlab(28.02, -25.33, 28.97)
CIE-LCHlch(28.02, 38.48, 131.16°)
OKLaboklab(37.1% -0.0702 0.0658)
OKLCHoklch(37.1% 0.096 136.9)
XYZxyz(3.3801, 5.4657, 1.4071)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B11 #37114B
analogous
#424B11 #254B11 #114B1A
triadic
#254B11 #11254B #4B1125
tetradic
#254B11 #11424B #37114B #4B1A11
square
#254B11 #11424B #37114B #4B1A11
split-complementary
#254B11 #1A114B #4B1142
monochromatic
#0C1906 #0C1906 #254B11 #3E7D1C #56AF28

Accessibility & contrast

On white

10.03
#254B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254B11
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B11#FFFFFF#000000##FFFFFF
##254B111.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4408
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#23483F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254b11;
/* rgb */ color: rgb(37, 75, 17);
/* oklch */ color: oklch(37.1% 0.096 136.9);
Tailwind
colors: {
  custom: {
    50: '#647d53',
    500: '#254b11',
    950: '#000000',
  },
}
SCSS
$custom: #254b11;
$custom-light: #647d53;
$custom-dark: #000000;
JSON
{
  "hex": "#254b11",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 99.31,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.09623,
    "h": 136.9
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#254B11
secondary
#683384
accent
#42E6AD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254B11

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

Preview Lab → · Contrast checker → · Palette generator →

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