#254A10#254A10

#254A10 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.096 H 136.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#254A10
RGBrgb(37, 74, 16)
HSLhsl(98, 64%, 18%)
HSVhsv(98, 78%, 29%)
CMYKcmyk(50%, 0%, 78.4%, 71%)
CIE-LABlab(27.65, -24.94, 29.03)
CIE-LCHlch(27.65, 38.28, 130.67°)
OKLaboklab(36.8% -0.0693 0.0658)
OKLCHoklch(36.8% 0.096 136.5)
XYZxyz(3.3052, 5.3281, 1.3444)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A10 #35104A
analogous
#424A10 #254A10 #104A18
triadic
#254A10 #10254A #4A1025
tetradic
#254A10 #10424A #35104A #4A1810
square
#254A10 #10424A #35104A #4A1810
split-complementary
#254A10 #18104A #4A1042
monochromatic
#0D1905 #0D1905 #254A10 #3E7C1B #57AF26

Accessibility & contrast

On white

10.17
#254A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#254A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A10
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A10#FFFFFF#000000##FFFFFF
##254A101.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4307
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#23473F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #254a10;
/* rgb */ color: rgb(37, 74, 16);
/* oklch */ color: oklch(36.8% 0.096 136.5);
Tailwind
colors: {
  custom: {
    50: '#647d52',
    500: '#254a10',
    950: '#000000',
  },
}
SCSS
$custom: #254a10;
$custom-light: #647d52;
$custom-dark: #000000;
JSON
{
  "hex": "#254a10",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 98.276,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36795,
    "c": 0.09552,
    "h": 136.5
  },
  "luminance": 0.05328
}

Semantic roles & 50–950 ramp

primary
#254A10
secondary
#663284
accent
#40E7AB
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #254A10

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

Preview Lab → · Contrast checker → · Palette generator →

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