#668323#668323

#668323 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.8% C 0.126 H 125.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#668323
RGBrgb(102, 131, 35)
HSLhsl(78, 58%, 33%)
HSVhsv(78, 73%, 51%)
CMYKcmyk(22.1%, 0%, 73.3%, 48.6%)
CIE-LABlab(50.90, -24.92, 45.89)
CIE-LCHlch(50.90, 52.22, 118.50°)
OKLaboklab(56.82% -0.072 0.1028)
OKLCHoklch(56.82% 0.126 125)
XYZxyz(13.8993, 19.1786, 4.5593)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668323 #402383
analogous
#837023 #668323 #368323
triadic
#668323 #236683 #832366
tetradic
#668323 #238370 #402383 #832336
square
#668323 #238370 #402383 #832336
split-complementary
#668323 #233683 #702383
monochromatic
#1B2209 #405316 #668323 #8CB330 #AAD050

Accessibility & contrast

On white

4.34
#668323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#668323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668323
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668323#FFFFFF#000000##000000
##6683231.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#6B7D70
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #668323;
/* rgb */ color: rgb(102, 131, 35);
/* oklch */ color: oklch(56.8% 0.126 125.0);
Tailwind
colors: {
  custom: {
    50: '#95a765',
    500: '#668323',
    950: '#000000',
  },
}
SCSS
$custom: #668323;
$custom-light: #95a765;
$custom-dark: #000000;
JSON
{
  "hex": "#668323",
  "rgb": {
    "r": 102,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 78.125,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.56821,
    "c": 0.12554,
    "h": 125
  },
  "luminance": 0.19179
}

Semantic roles & 50–950 ramp

primary
#668323
secondary
#6D4EB4
accent
#47E175
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E0F06
muted
#7E7F7A

Preview Lab

Preview with #668323

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

Preview Lab → · Contrast checker → · Palette generator →

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