#254E12#254E12

#254E12 is a dark, moderate green. Relative luminance 0.059; OKLCH L 38.0% C 0.100 H 137.6°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#254E12
RGBrgb(37, 78, 18)
HSLhsl(101, 63%, 19%)
HSVhsv(101, 77%, 31%)
CMYKcmyk(52.6%, 0%, 76.9%, 69.4%)
CIE-LABlab(29.12, -26.63, 29.65)
CIE-LCHlch(29.12, 39.86, 131.93°)
OKLaboklab(38.01% -0.0737 0.0674)
OKLCHoklch(38.01% 0.1 137.6)
XYZxyz(3.5964, 5.8855, 1.5187)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E12 #3B124E
analogous
#434E12 #254E12 #124E1D
triadic
#254E12 #12254E #4E1225
tetradic
#254E12 #12434E #3B124E #4E1D12
square
#254E12 #12434E #3B124E #4E1D12
split-complementary
#254E12 #1D124E #4E1243
monochromatic
#0C1906 #0D1C07 #254E12 #3D801D #54B129

Accessibility & contrast

On white

9.65
#254E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#254E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E12
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E12#FFFFFF#000000##FFFFFF
##254E121.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#4B4318
Tritanopia (blue-blind)
#224B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254e12;
/* rgb */ color: rgb(37, 78, 18);
/* oklch */ color: oklch(38.0% 0.100 137.6);
Tailwind
colors: {
  custom: {
    50: '#648054',
    500: '#254e12',
    950: '#000000',
  },
}
SCSS
$custom: #254e12;
$custom-light: #648054;
$custom-dark: #000000;
JSON
{
  "hex": "#254e12",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 101,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38009,
    "c": 0.09984,
    "h": 137.6
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#254E12
secondary
#6D3587
accent
#42E6B2
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254E12

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

Preview Lab → · Contrast checker → · Palette generator →

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