#254A18#254A18

#254A18 is a dark, moderate green. Relative luminance 0.054; OKLCH L 36.9% C 0.089 H 138.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#254A18
RGBrgb(37, 74, 24)
HSLhsl(104, 51%, 19%)
HSVhsv(104, 68%, 29%)
CMYKcmyk(50%, 0%, 67.6%, 71%)
CIE-LABlab(27.73, -24.11, 25.21)
CIE-LCHlch(27.73, 34.89, 133.73°)
OKLaboklab(36.88% -0.0664 0.0588)
OKLCHoklch(36.88% 0.089 138.5)
XYZxyz(3.3765, 5.3566, 1.7200)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A18 #3D184A
analogous
#3E4A18 #254A18 #184A24
triadic
#254A18 #18254A #4A1825
tetradic
#254A18 #183E4A #3D184A #4A2418
square
#254A18 #183E4A #3D184A #4A2418
split-complementary
#254A18 #24184A #4A183E
monochromatic
#0C1707 #0E1C09 #254A18 #3C7827 #53A636

Accessibility & contrast

On white

10.14
#254A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254A18
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A18#FFFFFF#000000##FFFFFF
##254A181.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4312
Deuteranopia (green-blind)
#47401C
Tritanopia (blue-blind)
#22473F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #254a18;
/* rgb */ color: rgb(37, 74, 24);
/* oklch */ color: oklch(36.9% 0.089 138.5);
Tailwind
colors: {
  custom: {
    50: '#637d57',
    500: '#254a18',
    950: '#000000',
  },
}
SCSS
$custom: #254a18;
$custom-light: #637d57;
$custom-dark: #000000;
JSON
{
  "hex": "#254a18",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 104.4,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.08868,
    "h": 138.5
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#254A18
secondary
#6F3D81
accent
#4DDAB6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050903
muted
#7A7B78

Preview Lab

Preview with #254A18

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

Preview Lab → · Contrast checker → · Palette generator →

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