#668229#668229

#668229 is a mid, moderate yellow-green. Relative luminance 0.190; OKLCH L 56.6% C 0.120 H 125.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#668229
RGBrgb(102, 130, 41)
HSLhsl(79, 52%, 34%)
HSVhsv(79, 68%, 51%)
CMYKcmyk(21.5%, 0%, 68.5%, 49%)
CIE-LABlab(50.63, -24.00, 43.14)
CIE-LCHlch(50.63, 49.37, 119.09°)
OKLaboklab(56.62% -0.0689 0.098)
OKLCHoklch(56.62% 0.12 125.1)
XYZxyz(13.8624, 18.9500, 5.0248)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668229 #452982
analogous
#827129 #668229 #398229
triadic
#668229 #296682 #822966
tetradic
#668229 #298271 #452982 #822939
square
#668229 #298271 #452982 #822939
split-complementary
#668229 #293982 #712982
monochromatic
#1D250C #41531A #668229 #8BB138 #A8CB5A

Accessibility & contrast

On white

4.38
#668229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#668229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668229
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668229#FFFFFF#000000##000000
##6682291.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1D
Deuteranopia (green-blind)
#857830
Tritanopia (blue-blind)
#6B7C70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #668229;
/* rgb */ color: rgb(102, 130, 41);
/* oklch */ color: oklch(56.6% 0.120 125.1);
Tailwind
colors: {
  custom: {
    50: '#94a668',
    500: '#668229',
    950: '#000000',
  },
}
SCSS
$custom: #668229;
$custom-light: #94a668;
$custom-dark: #000000;
JSON
{
  "hex": "#668229",
  "rgb": {
    "r": 102,
    "g": 130,
    "b": 41
  },
  "hsl": {
    "h": 78.876,
    "s": 52.047,
    "l": 33.529
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.11982,
    "h": 125.1
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#668229
secondary
#7356B0
accent
#4CDB79
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #668229

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

Preview Lab → · Contrast checker → · Palette generator →

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