#668A23#668A23

#668A23 is a mid, vivid yellow-green. Relative luminance 0.211; OKLCH L 58.6% C 0.135 H 127.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#668A23
RGBrgb(102, 138, 35)
HSLhsl(81, 60%, 34%)
HSVhsv(81, 75%, 54%)
CMYKcmyk(26.1%, 0%, 74.6%, 45.9%)
CIE-LABlab(53.08, -28.35, 48.05)
CIE-LCHlch(53.08, 55.79, 120.54°)
OKLaboklab(58.59% -0.0814 0.1074)
OKLCHoklch(58.59% 0.135 127.2)
XYZxyz(14.8714, 21.1228, 4.8834)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A23 #47238A
analogous
#8A7B23 #668A23 #338A23
triadic
#668A23 #23668A #8A2366
tetradic
#668A23 #238A7B #47238A #8A2333
square
#668A23 #238A7B #47238A #8A2333
split-complementary
#668A23 #23338A #7B238A
monochromatic
#1E280A #425917 #668A23 #8ABB2F #A7D454

Accessibility & contrast

On white

4.02
#668A23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#668A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A23
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A23#FFFFFF#000000##000000
##668A231.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#6A8376
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a23;
/* rgb */ color: rgb(102, 138, 35);
/* oklch */ color: oklch(58.6% 0.135 127.2);
Tailwind
colors: {
  custom: {
    50: '#95ac65',
    500: '#668a23',
    950: '#000000',
  },
}
SCSS
$custom: #668a23;
$custom-light: #95ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#668a23",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 35
  },
  "hsl": {
    "h": 80.971,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58594,
    "c": 0.13474,
    "h": 127.2
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#668A23
secondary
#7551B7
accent
#45E37C
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668A23

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

Preview Lab → · Contrast checker → · Palette generator →

#668A23 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva