#408113#408113

#408113 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 53.9% C 0.152 H 136.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#408113
RGBrgb(64, 129, 19)
HSLhsl(95, 74%, 29%)
HSVhsv(95, 85%, 51%)
CMYKcmyk(50.4%, 0%, 85.3%, 49.4%)
CIE-LABlab(48.05, -39.41, 47.86)
CIE-LCHlch(48.05, 62.00, 129.47°)
OKLaboklab(53.91% -0.1099 0.1052)
OKLCHoklch(53.91% 0.152 136.2)
XYZxyz(10.0819, 16.8368, 3.3345)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408113 #541381
analogous
#778113 #408113 #13811D
triadic
#408113 #134081 #811340
tetradic
#408113 #137781 #541381 #811D13
square
#408113 #137781 #541381 #811D13
split-complementary
#408113 #1D1381 #811377
monochromatic
#0D1B04 #264C0B #408113 #5AB61B #77E02E

Accessibility & contrast

On white

4.81
#408113 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#408113 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408113
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408113#FFFFFF#000000##FFFFFF
##4081131.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867500
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#3D7C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408113;
/* rgb */ color: rgb(64, 129, 19);
/* oklch */ color: oklch(53.9% 0.152 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ca65c',
    500: '#408113',
    950: '#000000',
  },
}
SCSS
$custom: #408113;
$custom-light: #7ca65c;
$custom-dark: #000000;
JSON
{
  "hex": "#408113",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 95.455,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53912,
    "c": 0.15216,
    "h": 136.2
  },
  "luminance": 0.16838
}

Semantic roles & 50–950 ramp

primary
#408113
secondary
#833AB6
accent
#37F1A5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #408113

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

Preview Lab → · Contrast checker → · Palette generator →

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