#254412#254412

#254412 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.0% C 0.085 H 135.7°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#254412
RGBrgb(37, 68, 18)
HSLhsl(97, 58%, 17%)
HSVhsv(97, 74%, 27%)
CMYKcmyk(45.6%, 0%, 73.5%, 73.3%)
CIE-LABlab(25.48, -21.84, 25.80)
CIE-LCHlch(25.48, 33.80, 130.24°)
OKLaboklab(35.02% -0.0607 0.0593)
OKLCHoklch(35.02% 0.085 135.7)
XYZxyz(2.9392, 4.5711, 1.2996)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254412 #311244
analogous
#3E4412 #254412 #124418
triadic
#254412 #122544 #441225
tetradic
#254412 #123E44 #311244 #441812
square
#254412 #123E44 #311244 #441812
split-complementary
#254412 #181244 #44123E
monochromatic
#0D1806 #0D1806 #254412 #3F741F #5AA52C

Accessibility & contrast

On white

10.97
#254412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#254412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254412
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254412#FFFFFF#000000##FFFFFF
##2544121.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0C
Deuteranopia (green-blind)
#423B16
Tritanopia (blue-blind)
#24413A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #254412;
/* rgb */ color: rgb(37, 68, 18);
/* oklch */ color: oklch(35.0% 0.085 135.7);
Tailwind
colors: {
  custom: {
    50: '#627853',
    500: '#254412',
    950: '#000000',
  },
}
SCSS
$custom: #254412;
$custom-light: #627853;
$custom-dark: #000000;
JSON
{
  "hex": "#254412",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 18
  },
  "hsl": {
    "h": 97.2,
    "s": 58.14,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3502,
    "c": 0.08483,
    "h": 135.7
  },
  "luminance": 0.04571
}

Semantic roles & 50–950 ramp

primary
#254412
secondary
#62357D
accent
#46E1A6
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #254412

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

Preview Lab → · Contrast checker → · Palette generator →

#254412 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva