#254F12#254F12

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

Color values

HEX#254F12
RGBrgb(37, 79, 18)
HSLhsl(101, 63%, 19%)
HSVhsv(101, 77%, 31%)
CMYKcmyk(53.2%, 0%, 77.2%, 69%)
CIE-LABlab(29.48, -27.09, 30.03)
CIE-LCHlch(29.48, 40.44, 132.05°)
OKLaboklab(38.31% -0.0749 0.0682)
OKLCHoklch(38.31% 0.101 137.7)
XYZxyz(3.6680, 6.0287, 1.5425)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F12 #3C124F
analogous
#444F12 #254F12 #124F1E
triadic
#254F12 #12254F #4F1225
tetradic
#254F12 #12444F #3C124F #4F1E12
square
#254F12 #12444F #3C124F #4F1E12
split-complementary
#254F12 #1E124F #4F1244
monochromatic
#0C1906 #0E1D07 #254F12 #3C811D #54B329

Accessibility & contrast

On white

9.52
#254F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254F12
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F12#FFFFFF#000000##FFFFFF
##254F121.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#224C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254f12;
/* rgb */ color: rgb(37, 79, 18);
/* oklch */ color: oklch(38.3% 0.101 137.7);
Tailwind
colors: {
  custom: {
    50: '#648154',
    500: '#254f12',
    950: '#000000',
  },
}
SCSS
$custom: #254f12;
$custom-light: #648154;
$custom-dark: #000000;
JSON
{
  "hex": "#254f12",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 101.311,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38307,
    "c": 0.10129,
    "h": 137.7
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#254F12
secondary
#6E3588
accent
#42E6B3
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254F12

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

Preview Lab → · Contrast checker → · Palette generator →

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