#408110#408110

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

Color values

HEX#408110
RGBrgb(64, 129, 16)
HSLhsl(95, 78%, 28%)
HSVhsv(95, 88%, 51%)
CMYKcmyk(50.4%, 0%, 87.6%, 49.4%)
CIE-LABlab(48.04, -39.54, 48.64)
CIE-LCHlch(48.04, 62.69, 129.11°)
OKLaboklab(53.9% -0.1104 0.1064)
OKLCHoklch(53.9% 0.153 136.1)
XYZxyz(10.0579, 16.8272, 3.2081)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408110 #511081
analogous
#788110 #408110 #108118
triadic
#408110 #104081 #811040
tetradic
#408110 #107881 #511081 #811810
square
#408110 #107881 #511081 #811810
split-complementary
#408110 #181081 #811078
monochromatic
#0E1B03 #254B09 #408110 #5BB717 #77E427

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##408110#FFFFFF#000000##FFFFFF
##4081101.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)
#7D701F
Tritanopia (blue-blind)
#3D7C6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #408110;
/* rgb */ color: rgb(64, 129, 16);
/* oklch */ color: oklch(53.9% 0.153 136.1);
Tailwind
colors: {
  custom: {
    50: '#7ca65b',
    500: '#408110',
    950: '#000000',
  },
}
SCSS
$custom: #408110;
$custom-light: #7ca65b;
$custom-dark: #000000;
JSON
{
  "hex": "#408110",
  "rgb": {
    "r": 64,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 94.513,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53898,
    "c": 0.15337,
    "h": 136.1
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#408110
secondary
#8036B7
accent
#33F4A2
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #408110

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

Preview Lab → · Contrast checker → · Palette generator →

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