#254512#254512

#254512 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.3% C 0.086 H 135.9°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#254512
RGBrgb(37, 69, 18)
HSLhsl(98, 59%, 17%)
HSVhsv(98, 74%, 27%)
CMYKcmyk(46.4%, 0%, 73.9%, 72.9%)
CIE-LABlab(25.84, -22.33, 26.20)
CIE-LCHlch(25.84, 34.43, 130.45°)
OKLaboklab(35.32% -0.062 0.0601)
OKLCHoklch(35.32% 0.086 135.9)
XYZxyz(3.0002, 4.6931, 1.3199)
Luminance0.0469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254512 #321245
analogous
#3F4512 #254512 #124519
triadic
#254512 #122545 #451225
tetradic
#254512 #123F45 #321245 #451912
square
#254512 #123F45 #321245 #451912
split-complementary
#254512 #191245 #45123F
monochromatic
#0D1806 #0D1806 #254512 #3F761F #59A62B

Accessibility & contrast

On white

10.83
#254512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#254512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254512
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254512#FFFFFF#000000##FFFFFF
##2545121.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0B
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#24423B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #254512;
/* rgb */ color: rgb(37, 69, 18);
/* oklch */ color: oklch(35.3% 0.086 135.9);
Tailwind
colors: {
  custom: {
    50: '#637953',
    500: '#254512',
    950: '#000000',
  },
}
SCSS
$custom: #254512;
$custom-light: #637953;
$custom-dark: #000000;
JSON
{
  "hex": "#254512",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 97.647,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35319,
    "c": 0.08638,
    "h": 135.9
  },
  "luminance": 0.04693
}

Semantic roles & 50–950 ramp

primary
#254512
secondary
#63357E
accent
#46E2A8
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#050902
muted
#7A7B78

Preview Lab

Preview with #254512

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

Preview Lab → · Contrast checker → · Palette generator →

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