#254C12#254C12

#254C12 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.097 H 137.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#254C12
RGBrgb(37, 76, 18)
HSLhsl(100, 62%, 18%)
HSVhsv(100, 76%, 30%)
CMYKcmyk(51.3%, 0%, 76.3%, 70.2%)
CIE-LABlab(28.39, -25.70, 28.90)
CIE-LCHlch(28.39, 38.67, 131.65°)
OKLaboklab(37.41% -0.0712 0.0658)
OKLCHoklch(37.41% 0.097 137.2)
XYZxyz(3.4565, 5.6056, 1.4720)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C12 #39124C
analogous
#424C12 #254C12 #124C1C
triadic
#254C12 #12254C #4C1225
tetradic
#254C12 #12424C #39124C #4C1C12
square
#254C12 #12424C #39124C #4C1C12
split-complementary
#254C12 #1C124C #4C1242
monochromatic
#0C1906 #0D1B06 #254C12 #3D7D1E #55AF29

Accessibility & contrast

On white

9.90
#254C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#254C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C12
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C12#FFFFFF#000000##FFFFFF
##254C121.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4509
Deuteranopia (green-blind)
#4A4217
Tritanopia (blue-blind)
#234940
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254c12;
/* rgb */ color: rgb(37, 76, 18);
/* oklch */ color: oklch(37.4% 0.097 137.2);
Tailwind
colors: {
  custom: {
    50: '#647e54',
    500: '#254c12',
    950: '#000000',
  },
}
SCSS
$custom: #254c12;
$custom-light: #647e54;
$custom-dark: #000000;
JSON
{
  "hex": "#254c12",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 100.345,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.09693,
    "h": 137.2
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#254C12
secondary
#6B3585
accent
#43E5B0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #254C12

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

Preview Lab → · Contrast checker → · Palette generator →

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