#254B10#254B10

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

Color values

HEX#254B10
RGBrgb(37, 75, 16)
HSLhsl(99, 65%, 18%)
HSVhsv(99, 79%, 29%)
CMYKcmyk(50.7%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.01, -25.42, 29.41)
CIE-LCHlch(28.01, 38.87, 130.84°)
OKLaboklab(37.09% -0.0705 0.0666)
OKLCHoklch(37.09% 0.097 136.7)
XYZxyz(3.3725, 5.4627, 1.3668)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B10 #36104B
analogous
#424B10 #254B10 #104B18
triadic
#254B10 #10254B #4B1025
tetradic
#254B10 #10424B #36104B #4B1810
square
#254B10 #10424B #36104B #4B1810
split-complementary
#254B10 #18104B #4B1042
monochromatic
#0C1905 #0C1905 #254B10 #3E7D1B #57B026

Accessibility & contrast

On white

10.04
#254B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254B10
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B10#FFFFFF#000000##FFFFFF
##254B101.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254b10;
/* rgb */ color: rgb(37, 75, 16);
/* oklch */ color: oklch(37.1% 0.097 136.7);
Tailwind
colors: {
  custom: {
    50: '#647d52',
    500: '#254b10',
    950: '#000000',
  },
}
SCSS
$custom: #254b10;
$custom-light: #647d52;
$custom-dark: #000000;
JSON
{
  "hex": "#254b10",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 98.644,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37094,
    "c": 0.09699,
    "h": 136.7
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#254B10
secondary
#673285
accent
#40E8AC
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254B10

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

Preview Lab → · Contrast checker → · Palette generator →

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