#254F19#254F19

#254F19 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.095 H 139.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#254F19
RGBrgb(37, 79, 25)
HSLhsl(107, 52%, 20%)
HSVhsv(107, 68%, 31%)
CMYKcmyk(53.2%, 0%, 68.4%, 69%)
CIE-LABlab(29.55, -26.36, 26.74)
CIE-LCHlch(29.55, 37.55, 134.60°)
OKLaboklab(38.38% -0.0724 0.0622)
OKLCHoklch(38.38% 0.095 139.3)
XYZxyz(3.7343, 6.0552, 1.8915)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F19 #43194F
analogous
#404F19 #254F19 #194F28
triadic
#254F19 #19254F #4F1925
tetradic
#254F19 #19404F #43194F #4F2819
square
#254F19 #19404F #43194F #4F2819
split-complementary
#254F19 #28194F #4F1940
monochromatic
#0B1707 #0F210A #254F19 #3B7D28 #51AC36

Accessibility & contrast

On white

9.50
#254F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#254F19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F19
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F19#FFFFFF#000000##FFFFFF
##254F191.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514813
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#214C44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254f19;
/* rgb */ color: rgb(37, 79, 25);
/* oklch */ color: oklch(38.4% 0.095 139.3);
Tailwind
colors: {
  custom: {
    50: '#648158',
    500: '#254f19',
    950: '#000000',
  },
}
SCSS
$custom: #254f19;
$custom-light: #648158;
$custom-dark: #000000;
JSON
{
  "hex": "#254f19",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 106.667,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38383,
    "c": 0.09546,
    "h": 139.3
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#254F19
secondary
#763E85
accent
#4CDBBC
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254F19

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

Preview Lab → · Contrast checker → · Palette generator →

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