#254E10#254E10

#254E10 is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.0% C 0.101 H 137.2°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#254E10
RGBrgb(37, 78, 16)
HSLhsl(100, 66%, 18%)
HSVhsv(100, 79%, 31%)
CMYKcmyk(52.6%, 0%, 79.5%, 69.4%)
CIE-LABlab(29.11, -26.81, 30.51)
CIE-LCHlch(29.11, 40.62, 131.30°)
OKLaboklab(37.99% -0.0743 0.0689)
OKLCHoklch(37.99% 0.101 137.2)
XYZxyz(3.5808, 5.8793, 1.4362)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E10 #39104E
analogous
#444E10 #254E10 #104E1A
triadic
#254E10 #10254E #4E1025
tetradic
#254E10 #10444E #39104E #4E1A10
square
#254E10 #10444E #39104E #4E1A10
split-complementary
#254E10 #1A104E #4E1044
monochromatic
#0C1905 #0D1B06 #254E10 #3D811A #55B425

Accessibility & contrast

On white

9.65
#254E10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#254E10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E10
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E10#FFFFFF#000000##FFFFFF
##254E101.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514706
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#234B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254e10;
/* rgb */ color: rgb(37, 78, 16);
/* oklch */ color: oklch(38.0% 0.101 137.2);
Tailwind
colors: {
  custom: {
    50: '#648053',
    500: '#254e10',
    950: '#000000',
  },
}
SCSS
$custom: #254e10;
$custom-light: #648053;
$custom-dark: #000000;
JSON
{
  "hex": "#254e10",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 16
  },
  "hsl": {
    "h": 99.677,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3799,
    "c": 0.10131,
    "h": 137.2
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

primary
#254E10
secondary
#6B3288
accent
#3FE9AF
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #254E10

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

Preview Lab → · Contrast checker → · Palette generator →

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