#254C10#254C10

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

Color values

HEX#254C10
RGBrgb(37, 76, 16)
HSLhsl(99, 65%, 18%)
HSVhsv(99, 79%, 30%)
CMYKcmyk(51.3%, 0%, 78.9%, 70.2%)
CIE-LABlab(28.38, -25.88, 29.78)
CIE-LCHlch(28.38, 39.45, 131.00°)
OKLaboklab(37.39% -0.0718 0.0673)
OKLCHoklch(37.39% 0.098 136.8)
XYZxyz(3.4408, 5.5994, 1.3896)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C10 #37104C
analogous
#434C10 #254C10 #104C19
triadic
#254C10 #10254C #4C1025
tetradic
#254C10 #10434C #37104C #4C1910
square
#254C10 #10434C #37104C #4C1910
split-complementary
#254C10 #19104C #4C1043
monochromatic
#0C1905 #0C1905 #254C10 #3E7F1B #56B125

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254C10#FFFFFF#000000##FFFFFF
##254C101.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)
#4F4506
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#234940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254c10;
/* rgb */ color: rgb(37, 76, 16);
/* oklch */ color: oklch(37.4% 0.098 136.8);
Tailwind
colors: {
  custom: {
    50: '#647e52',
    500: '#254c10',
    950: '#000000',
  },
}
SCSS
$custom: #254c10;
$custom-light: #647e52;
$custom-dark: #000000;
JSON
{
  "hex": "#254c10",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 99,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37393,
    "c": 0.09844,
    "h": 136.8
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#254C10
secondary
#683286
accent
#40E8AD
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254C10

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

Preview Lab → · Contrast checker → · Palette generator →

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