#668316#668316

#668316 is a mid, vivid yellow-green. Relative luminance 0.191; OKLCH L 56.7% C 0.133 H 124.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#668316
RGBrgb(102, 131, 22)
HSLhsl(76, 71%, 30%)
HSVhsv(76, 83%, 51%)
CMYKcmyk(22.1%, 0%, 83.2%, 48.6%)
CIE-LABlab(50.82, -25.61, 50.29)
CIE-LCHlch(50.82, 56.43, 116.99°)
OKLaboklab(56.74% -0.075 0.1099)
OKLCHoklch(56.74% 0.133 124.3)
XYZxyz(13.7408, 19.1152, 3.7246)
Luminance0.1911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668316 #331683
analogous
#836916 #668316 #308316
triadic
#668316 #166683 #831666
tetradic
#668316 #168369 #331683 #831630
square
#668316 #168369 #331683 #831630
split-complementary
#668316 #163083 #691683
monochromatic
#141A04 #3D4F0D #668316 #8FB71F #B1DD36

Accessibility & contrast

On white

4.35
#668316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#668316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668316
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668316#FFFFFF#000000##000000
##6683161.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#877922
Tritanopia (blue-blind)
#6B7C6F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #668316;
/* rgb */ color: rgb(102, 131, 22);
/* oklch */ color: oklch(56.7% 0.133 124.3);
Tailwind
colors: {
  custom: {
    50: '#95a75f',
    500: '#668316',
    950: '#000000',
  },
}
SCSS
$custom: #668316;
$custom-light: #95a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#668316",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 75.963,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.56737,
    "c": 0.13301,
    "h": 124.3
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#668316
secondary
#5E3DB7
accent
#3AEE6A
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668316

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

Preview Lab → · Contrast checker → · Palette generator →

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