#408319#408319

#408319 is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.5% C 0.152 H 136.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#408319
RGBrgb(64, 131, 25)
HSLhsl(98, 68%, 31%)
HSVhsv(98, 81%, 51%)
CMYKcmyk(51.1%, 0%, 80.9%, 48.6%)
CIE-LABlab(48.75, -39.90, 46.69)
CIE-LCHlch(48.75, 61.42, 130.52°)
OKLaboklab(54.5% -0.1109 0.1037)
OKLCHoklch(54.5% 0.152 136.9)
XYZxyz(10.4058, 17.3920, 3.7282)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408319 #5C1983
analogous
#758319 #408319 #198327
triadic
#408319 #194083 #831940
tetradic
#408319 #197583 #5C1983 #832719
square
#408319 #197583 #5C1983 #832719
split-complementary
#408319 #271983 #831975
monochromatic
#0E1C05 #27500F #408319 #59B623 #76DA3D

Accessibility & contrast

On white

4.69
#408319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#408319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408319
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408319#FFFFFF#000000##FFFFFF
##4083191.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#3C7E6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #408319;
/* rgb */ color: rgb(64, 131, 25);
/* oklch */ color: oklch(54.5% 0.152 136.9);
Tailwind
colors: {
  custom: {
    50: '#7ca85f',
    500: '#408319',
    950: '#000000',
  },
}
SCSS
$custom: #408319;
$custom-light: #7ca85f;
$custom-dark: #000000;
JSON
{
  "hex": "#408319",
  "rgb": {
    "r": 64,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 97.925,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54495,
    "c": 0.15182,
    "h": 136.9
  },
  "luminance": 0.17393
}

Semantic roles & 50–950 ramp

primary
#408319
secondary
#8B41B7
accent
#3DEBAB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #408319

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

Preview Lab → · Contrast checker → · Palette generator →

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