#668128#668128

#668128 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.4% C 0.119 H 124.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#668128
RGBrgb(102, 129, 40)
HSLhsl(78, 53%, 33%)
HSVhsv(78, 69%, 51%)
CMYKcmyk(20.9%, 0%, 69%, 49.4%)
CIE-LABlab(50.31, -23.57, 43.24)
CIE-LCHlch(50.31, 49.24, 118.60°)
OKLaboklab(56.36% -0.0678 0.0981)
OKLCHoklch(56.36% 0.119 124.7)
XYZxyz(13.7128, 18.6784, 4.8899)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668128 #432881
analogous
#816F28 #668128 #398128
triadic
#668128 #286681 #812866
tetradic
#668128 #28816F #432881 #812839
square
#668128 #28816F #432881 #812839
split-complementary
#668128 #283981 #6F2881
monochromatic
#1C240B #41521A #668128 #8BB036 #A8CB58

Accessibility & contrast

On white

4.43
#668128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#668128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668128
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668128#FFFFFF#000000##000000
##6681281.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #668128;
/* rgb */ color: rgb(102, 129, 40);
/* oklch */ color: oklch(56.4% 0.119 124.7);
Tailwind
colors: {
  custom: {
    50: '#94a567',
    500: '#668128',
    950: '#000000',
  },
}
SCSS
$custom: #668128;
$custom-light: #94a567;
$custom-dark: #000000;
JSON
{
  "hex": "#668128",
  "rgb": {
    "r": 102,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 78.202,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56358,
    "c": 0.11925,
    "h": 124.7
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#668128
secondary
#7054B0
accent
#4CDC78
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #668128

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

Preview Lab → · Contrast checker → · Palette generator →

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