#408233#408233

#408233 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.5% C 0.132 H 140.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#408233
RGBrgb(64, 130, 51)
HSLhsl(110, 44%, 35%)
HSVhsv(110, 61%, 51%)
CMYKcmyk(50.8%, 0%, 60.8%, 49%)
CIE-LABlab(48.63, -37.19, 35.72)
CIE-LCHlch(48.63, 51.56, 136.15°)
OKLaboklab(54.46% -0.1018 0.084)
OKLCHoklch(54.46% 0.132 140.5)
XYZxyz(10.6941, 17.2935, 5.9058)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#408233 #753382
analogous
#678233 #408233 #33824E
triadic
#408233 #334082 #823340
tetradic
#408233 #336782 #753382 #824E33
square
#408233 #336782 #753382 #824E33
split-complementary
#408233 #4E3382 #823367
monochromatic
#152A11 #2A5622 #408233 #56AE44 #79C56B

Accessibility & contrast

On white

4.71
#408233 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#408233 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #408233
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##408233#FFFFFF#000000##FFFFFF
##4082331.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772B
Deuteranopia (green-blind)
#7D7139
Tritanopia (blue-blind)
#397E71
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #408233;
/* rgb */ color: rgb(64, 130, 51);
/* oklch */ color: oklch(54.5% 0.132 140.5);
Tailwind
colors: {
  custom: {
    50: '#7ba76d',
    500: '#408233',
    950: '#000000',
  },
}
SCSS
$custom: #408233;
$custom-light: #7ba76d;
$custom-dark: #000000;
JSON
{
  "hex": "#408233",
  "rgb": {
    "r": 64,
    "g": 130,
    "b": 51
  },
  "hsl": {
    "h": 110.127,
    "s": 43.646,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54461,
    "c": 0.13197,
    "h": 140.5
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#408233
secondary
#A164AD
accent
#54D3BE
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A0F07
muted
#7C7F7A

Preview Lab

Preview with #408233

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

Preview Lab → · Contrast checker → · Palette generator →

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