#668310#668310

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

Color values

HEX#668310
RGBrgb(102, 131, 16)
HSLhsl(75, 78%, 29%)
HSVhsv(75, 88%, 51%)
CMYKcmyk(22.1%, 0%, 87.8%, 48.6%)
CIE-LABlab(50.80, -25.83, 51.85)
CIE-LCHlch(50.80, 57.93, 116.48°)
OKLaboklab(56.71% -0.0759 0.1122)
OKLCHoklch(56.71% 0.136 124.1)
XYZxyz(13.6895, 19.0947, 3.4545)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668310 #2D1083
analogous
#836710 #668310 #2D8310
triadic
#668310 #106683 #831066
tetradic
#668310 #108367 #2D1083 #83102D
square
#668310 #108367 #2D1083 #83102D
split-complementary
#668310 #102D83 #671083
monochromatic
#151B03 #3C4C09 #668310 #90BA17 #B5E529

Accessibility & contrast

On white

4.36
#668310 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##668310#FFFFFF#000000##000000
##6683101.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668310;
/* rgb */ color: rgb(102, 131, 16);
/* oklch */ color: oklch(56.7% 0.136 124.1);
Tailwind
colors: {
  custom: {
    50: '#95a75c',
    500: '#668310',
    950: '#000000',
  },
}
SCSS
$custom: #668310;
$custom-light: #95a75c;
$custom-dark: #000000;
JSON
{
  "hex": "#668310",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 16
  },
  "hsl": {
    "h": 75.13,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.13551,
    "h": 124.1
  },
  "luminance": 0.19095
}

Semantic roles & 50–950 ramp

primary
#668310
secondary
#5736B9
accent
#33F564
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #668310

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

Preview Lab → · Contrast checker → · Palette generator →

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