#668127#668127

#668127 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.120 H 124.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#668127
RGBrgb(102, 129, 39)
HSLhsl(78, 54%, 33%)
HSVhsv(78, 70%, 51%)
CMYKcmyk(20.9%, 0%, 69.8%, 49.4%)
CIE-LABlab(50.30, -23.65, 43.65)
CIE-LCHlch(50.30, 49.65, 118.44°)
OKLaboklab(56.35% -0.0681 0.0988)
OKLCHoklch(56.35% 0.12 124.6)
XYZxyz(13.6961, 18.6716, 4.8015)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668127 #422781
analogous
#816F27 #668127 #398127
triadic
#668127 #276681 #812766
tetradic
#668127 #27816F #422781 #812739
square
#668127 #27816F #422781 #812739
split-complementary
#668127 #273981 #6F2781
monochromatic
#1C230B #415219 #668127 #8BB035 #A9CC56

Accessibility & contrast

On white

4.44
#668127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#668127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668127
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668127#FFFFFF#000000##000000
##6681271.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791A
Deuteranopia (green-blind)
#85772E
Tritanopia (blue-blind)
#6B7B6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #668127;
/* rgb */ color: rgb(102, 129, 39);
/* oklch */ color: oklch(56.3% 0.120 124.6);
Tailwind
colors: {
  custom: {
    50: '#94a567',
    500: '#668127',
    950: '#000000',
  },
}
SCSS
$custom: #668127;
$custom-light: #94a567;
$custom-dark: #000000;
JSON
{
  "hex": "#668127",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 39
  },
  "hsl": {
    "h": 78,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.12,
    "h": 124.6
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#668127
secondary
#6F53B1
accent
#4BDD77
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #668127

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

Preview Lab → · Contrast checker → · Palette generator →

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