#254D12#254D12

#254D12 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.7% C 0.098 H 137.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#254D12
RGBrgb(37, 77, 18)
HSLhsl(101, 62%, 19%)
HSVhsv(101, 77%, 30%)
CMYKcmyk(51.9%, 0%, 76.6%, 69.8%)
CIE-LABlab(28.76, -26.17, 29.28)
CIE-LCHlch(28.76, 39.27, 131.79°)
OKLaboklab(37.71% -0.0724 0.0666)
OKLCHoklch(37.71% 0.098 137.4)
XYZxyz(3.5259, 5.7445, 1.4952)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D12 #3A124D
analogous
#424D12 #254D12 #124D1C
triadic
#254D12 #12254D #4D1225
tetradic
#254D12 #12424D #3A124D #4D1C12
square
#254D12 #12424D #3A124D #4D1C12
split-complementary
#254D12 #1C124D #4D1242
monochromatic
#0C1906 #0D1B06 #254D12 #3D7F1E #55B029

Accessibility & contrast

On white

9.77
#254D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#254D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D12
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D12#FFFFFF#000000##FFFFFF
##254D121.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4A4317
Tritanopia (blue-blind)
#234A41
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254d12;
/* rgb */ color: rgb(37, 77, 18);
/* oklch */ color: oklch(37.7% 0.098 137.4);
Tailwind
colors: {
  custom: {
    50: '#647f54',
    500: '#254d12',
    950: '#000000',
  },
}
SCSS
$custom: #254d12;
$custom-light: #647f54;
$custom-dark: #000000;
JSON
{
  "hex": "#254d12",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 100.678,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3771,
    "c": 0.09839,
    "h": 137.4
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#254D12
secondary
#6C3586
accent
#43E5B1
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254D12

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

Preview Lab → · Contrast checker → · Palette generator →

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