#668F1C#668F1C

#668F1C is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.8% C 0.145 H 128.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#668F1C
RGBrgb(102, 143, 28)
HSLhsl(81, 67%, 34%)
HSVhsv(81, 80%, 56%)
CMYKcmyk(28.7%, 0%, 80.4%, 43.9%)
CIE-LABlab(54.61, -31.11, 51.91)
CIE-LCHlch(54.61, 60.52, 120.93°)
OKLaboklab(59.82% -0.0895 0.1143)
OKLCHoklch(59.82% 0.145 128)
XYZxyz(15.5116, 22.5532, 4.6343)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F1C #451C8F
analogous
#8F7E1C #668F1C #2D8F1C
triadic
#668F1C #1C668F #8F1C66
tetradic
#668F1C #1C8F7E #451C8F #8F1C2D
square
#668F1C #1C8F7E #451C8F #8F1C2D
split-complementary
#668F1C #1C2D8F #7E1C8F
monochromatic
#1D2908 #415C12 #668F1C #8BC226 #A8DC4A

Accessibility & contrast

On white

3.81
#668F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#668F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F1C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F1C#FFFFFF#000000##000000
##668F1C1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#6A887A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f1c;
/* rgb */ color: rgb(102, 143, 28);
/* oklch */ color: oklch(59.8% 0.145 128.0);
Tailwind
colors: {
  custom: {
    50: '#96b063',
    500: '#668f1c',
    950: '#000000',
  },
}
SCSS
$custom: #668f1c;
$custom-light: #96b063;
$custom-dark: #000000;
JSON
{
  "hex": "#668f1c",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 81.391,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5982,
    "c": 0.14517,
    "h": 128
  },
  "luminance": 0.22554
}

Semantic roles & 50–950 ramp

primary
#668F1C
secondary
#7349BE
accent
#3EEA7B
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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