#254A12#254A12

#254A12 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.094 H 136.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#254A12
RGBrgb(37, 74, 18)
HSLhsl(100, 61%, 18%)
HSVhsv(100, 76%, 29%)
CMYKcmyk(50%, 0%, 75.7%, 71%)
CIE-LABlab(27.67, -24.76, 28.14)
CIE-LCHlch(27.67, 37.48, 131.35°)
OKLaboklab(36.81% -0.0686 0.0642)
OKLCHoklch(36.81% 0.094 136.9)
XYZxyz(3.3208, 5.3343, 1.4268)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A12 #37124A
analogous
#414A12 #254A12 #124A1B
triadic
#254A12 #12254A #4A1225
tetradic
#254A12 #12414A #37124A #4A1B12
square
#254A12 #12414A #37124A #4A1B12
split-complementary
#254A12 #1B124A #4A1241
monochromatic
#0C1906 #0C1906 #254A12 #3E7B1E #56AC2A

Accessibility & contrast

On white

10.16
#254A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#254A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A12
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A12#FFFFFF#000000##FFFFFF
##254A121.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D430A
Deuteranopia (green-blind)
#484017
Tritanopia (blue-blind)
#23473F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #254a12;
/* rgb */ color: rgb(37, 74, 18);
/* oklch */ color: oklch(36.8% 0.094 136.9);
Tailwind
colors: {
  custom: {
    50: '#637d53',
    500: '#254a12',
    950: '#000000',
  },
}
SCSS
$custom: #254a12;
$custom-light: #637d53;
$custom-dark: #000000;
JSON
{
  "hex": "#254a12",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 99.643,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.36814,
    "c": 0.09396,
    "h": 136.9
  },
  "luminance": 0.05335
}

Semantic roles & 50–950 ramp

primary
#254A12
secondary
#683583
accent
#44E4AE
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050903
muted
#7A7B78

Preview Lab

Preview with #254A12

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

Preview Lab → · Contrast checker → · Palette generator →

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