#254014#254014

#254014 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.8% C 0.077 H 135.2°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#254014
RGBrgb(37, 64, 20)
HSLhsl(97, 52%, 16%)
HSVhsv(97, 69%, 25%)
CMYKcmyk(42.2%, 0%, 68.8%, 74.9%)
CIE-LABlab(24.03, -19.57, 23.18)
CIE-LCHlch(24.03, 30.33, 130.18°)
OKLaboklab(33.85% -0.0543 0.054)
OKLCHoklch(33.85% 0.077 135.2)
XYZxyz(2.7226, 4.1105, 1.3116)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254014 #2F1440
analogous
#3B4014 #254014 #144019
triadic
#254014 #142540 #401425
tetradic
#254014 #143B40 #2F1440 #401914
square
#254014 #143B40 #2F1440 #401914
split-complementary
#254014 #191440 #40143B
monochromatic
#0D1707 #0D1707 #254014 #406F23 #5B9D31

Accessibility & contrast

On white

11.52
#254014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#254014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254014
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254014#FFFFFF#000000##FFFFFF
##2540141.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0F
Deuteranopia (green-blind)
#3F3817
Tritanopia (blue-blind)
#243D37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #254014;
/* rgb */ color: rgb(37, 64, 20);
/* oklch */ color: oklch(33.8% 0.077 135.2);
Tailwind
colors: {
  custom: {
    50: '#627553',
    500: '#254014',
    950: '#000000',
  },
}
SCSS
$custom: #254014;
$custom-light: #627553;
$custom-dark: #000000;
JSON
{
  "hex": "#254014",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 20
  },
  "hsl": {
    "h": 96.818,
    "s": 52.381,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33848,
    "c": 0.07658,
    "h": 135.2
  },
  "luminance": 0.04111
}

Semantic roles & 50–950 ramp

primary
#254014
secondary
#5F3878
accent
#4CDCA4
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #254014

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

Preview Lab → · Contrast checker → · Palette generator →

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