#254D10#254D10

#254D10 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.100 H 137.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#254D10
RGBrgb(37, 77, 16)
HSLhsl(99, 66%, 18%)
HSVhsv(99, 79%, 30%)
CMYKcmyk(51.9%, 0%, 79.2%, 69.8%)
CIE-LABlab(28.74, -26.35, 30.15)
CIE-LCHlch(28.74, 40.04, 131.15°)
OKLaboklab(37.69% -0.0731 0.0681)
OKLCHoklch(37.69% 0.1 137)
XYZxyz(3.5102, 5.7382, 1.4127)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D10 #38104D
analogous
#434D10 #254D10 #104D19
triadic
#254D10 #10254D #4D1025
tetradic
#254D10 #10434D #38104D #4D1910
square
#254D10 #10434D #38104D #4D1910
split-complementary
#254D10 #19104D #4D1043
monochromatic
#0C1905 #0D1A05 #254D10 #3D801B #56B225

Accessibility & contrast

On white

9.78
#254D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#254D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D10
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D10#FFFFFF#000000##FFFFFF
##254D101.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504606
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#234A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254d10;
/* rgb */ color: rgb(37, 77, 16);
/* oklch */ color: oklch(37.7% 0.100 137.0);
Tailwind
colors: {
  custom: {
    50: '#647f53',
    500: '#254d10',
    950: '#000000',
  },
}
SCSS
$custom: #254d10;
$custom-light: #647f53;
$custom-dark: #000000;
JSON
{
  "hex": "#254d10",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 99.344,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37692,
    "c": 0.09988,
    "h": 137
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#254D10
secondary
#6A3287
accent
#3FE9AE
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254D10

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

Preview Lab → · Contrast checker → · Palette generator →

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