#668231#668231

#668231 is a mid, moderate yellow-green. Relative luminance 0.190; OKLCH L 56.7% C 0.113 H 125.9°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#668231
RGBrgb(102, 130, 49)
HSLhsl(81, 45%, 35%)
HSVhsv(81, 62%, 51%)
CMYKcmyk(21.5%, 0%, 62.3%, 49%)
CIE-LABlab(50.70, -23.34, 39.59)
CIE-LCHlch(50.70, 45.96, 120.52°)
OKLaboklab(56.7% -0.0663 0.0916)
OKLCHoklch(56.7% 0.113 125.9)
XYZxyz(14.0165, 19.0116, 5.8363)
Luminance0.1901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668231 #4D3182
analogous
#827531 #668231 #3D8231
triadic
#668231 #316682 #823166
tetradic
#668231 #318275 #4D3182 #82313D
square
#668231 #318275 #4D3182 #82313D
split-complementary
#668231 #313D82 #753182
monochromatic
#20290F #435620 #668231 #89AE42 #A5C668

Accessibility & contrast

On white

4.37
#668231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#668231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668231
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668231#FFFFFF#000000##000000
##6682311.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A28
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#6A7C71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #668231;
/* rgb */ color: rgb(102, 130, 49);
/* oklch */ color: oklch(56.7% 0.113 125.9);
Tailwind
colors: {
  custom: {
    50: '#94a66d',
    500: '#668231',
    950: '#000000',
  },
}
SCSS
$custom: #668231;
$custom-light: #94a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#668231",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 49
  },
  "hsl": {
    "h": 80.741,
    "s": 45.251,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56701,
    "c": 0.1131,
    "h": 125.9
  },
  "luminance": 0.19012
}

Semantic roles & 50–950 ramp

primary
#668231
secondary
#7C62AD
accent
#53D580
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D0F07
muted
#7E7F7A

Preview Lab

Preview with #668231

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

Preview Lab → · Contrast checker → · Palette generator →

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