#668A30#668A30

#668A30 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.7% C 0.125 H 128.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#668A30
RGBrgb(102, 138, 48)
HSLhsl(84, 48%, 36%)
HSVhsv(84, 65%, 54%)
CMYKcmyk(26.1%, 0%, 65.2%, 45.9%)
CIE-LABlab(53.18, -27.40, 42.78)
CIE-LCHlch(53.18, 50.80, 122.64°)
OKLaboklab(58.71% -0.0776 0.0982)
OKLCHoklch(58.71% 0.125 128.3)
XYZxyz(15.1014, 21.2148, 6.0950)
Luminance0.2122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668A30 #54308A
analogous
#8A8130 #668A30 #398A30
triadic
#668A30 #30668A #8A3066
tetradic
#668A30 #308A81 #54308A #8A3039
square
#668A30 #308A81 #54308A #8A3039
split-complementary
#668A30 #30398A #81308A
monochromatic
#232F10 #445D20 #668A30 #88B740 #A4CB69

Accessibility & contrast

On white

4.01
#668A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#668A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668A30
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668A30#FFFFFF#000000##000000
##668A301.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918125
Deuteranopia (green-blind)
#8C7E37
Tritanopia (blue-blind)
#698477
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #668a30;
/* rgb */ color: rgb(102, 138, 48);
/* oklch */ color: oklch(58.7% 0.125 128.3);
Tailwind
colors: {
  custom: {
    50: '#94ac6d',
    500: '#668a30',
    950: '#000000',
  },
}
SCSS
$custom: #668a30;
$custom-light: #94ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#668a30",
  "rgb": {
    "r": 102,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 84,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58707,
    "c": 0.1252,
    "h": 128.3
  },
  "luminance": 0.21215
}

Semantic roles & 50–950 ramp

primary
#668A30
secondary
#8364B2
accent
#50D886
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #668A30

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

Preview Lab → · Contrast checker → · Palette generator →

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