#254F16#254F16

#254F16 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.3% C 0.098 H 138.6°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#254F16
RGBrgb(37, 79, 22)
HSLhsl(104, 56%, 20%)
HSVhsv(104, 72%, 31%)
CMYKcmyk(53.2%, 0%, 72.2%, 69%)
CIE-LABlab(29.52, -26.70, 28.20)
CIE-LCHlch(29.52, 38.84, 133.43°)
OKLaboklab(38.35% -0.0735 0.0649)
OKLCHoklch(38.35% 0.098 138.6)
XYZxyz(3.7036, 6.0429, 1.7301)
Luminance0.0604 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F16 #40164F
analogous
#414F16 #254F16 #164F24
triadic
#254F16 #16254F #4F1625
tetradic
#254F16 #16414F #40164F #4F2416
square
#254F16 #16414F #40164F #4F2416
split-complementary
#254F16 #24164F #4F1641
monochromatic
#0B1807 #0F1F09 #254F16 #3B7F23 #52AF31

Accessibility & contrast

On white

9.51
#254F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254F16
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F16#FFFFFF#000000##FFFFFF
##254F161.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480F
Deuteranopia (green-blind)
#4C441B
Tritanopia (blue-blind)
#224C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254f16;
/* rgb */ color: rgb(37, 79, 22);
/* oklch */ color: oklch(38.3% 0.098 138.6);
Tailwind
colors: {
  custom: {
    50: '#648156',
    500: '#254f16',
    950: '#000000',
  },
}
SCSS
$custom: #254f16;
$custom-light: #648156;
$custom-dark: #000000;
JSON
{
  "hex": "#254f16",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 104.211,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38348,
    "c": 0.0981,
    "h": 138.6
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#254F16
secondary
#723A86
accent
#48E0B8
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254F16

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

Preview Lab → · Contrast checker → · Palette generator →

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