#668528#668528

#668528 is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.4% C 0.125 H 126.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#668528
RGBrgb(102, 133, 40)
HSLhsl(80, 54%, 34%)
HSVhsv(80, 70%, 52%)
CMYKcmyk(23.3%, 0%, 69.9%, 47.8%)
CIE-LABlab(51.56, -25.57, 44.53)
CIE-LCHlch(51.56, 51.35, 119.87°)
OKLaboklab(57.37% -0.0733 0.1008)
OKLCHoklch(57.37% 0.125 126)
XYZxyz(14.2501, 19.7528, 5.0690)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668528 #472885
analogous
#857628 #668528 #388528
triadic
#668528 #286685 #852866
tetradic
#668528 #288576 #472885 #852838
square
#668528 #288576 #472885 #852838
split-complementary
#668528 #283885 #762885
monochromatic
#1E270C #42561A #668528 #8AB436 #A7CD5A

Accessibility & contrast

On white

4.24
#668528 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#668528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668528
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668528#FFFFFF#000000##000000
##6685281.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1A
Deuteranopia (green-blind)
#887A30
Tritanopia (blue-blind)
#6A7F72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #668528;
/* rgb */ color: rgb(102, 133, 40);
/* oklch */ color: oklch(57.4% 0.125 126.0);
Tailwind
colors: {
  custom: {
    50: '#94a868',
    500: '#668528',
    950: '#000000',
  },
}
SCSS
$custom: #668528;
$custom-light: #94a868;
$custom-dark: #000000;
JSON
{
  "hex": "#668528",
  "rgb": {
    "r": 102,
    "g": 133,
    "b": 40
  },
  "hsl": {
    "h": 80,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57368,
    "c": 0.12465,
    "h": 126
  },
  "luminance": 0.19753
}

Semantic roles & 50–950 ramp

primary
#668528
secondary
#7556B3
accent
#4BDD7B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #668528

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

Preview Lab → · Contrast checker → · Palette generator →

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