#668F1B#668F1B

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

Color values

HEX#668F1B
RGBrgb(102, 143, 27)
HSLhsl(81, 68%, 33%)
HSVhsv(81, 81%, 56%)
CMYKcmyk(28.7%, 0%, 81.1%, 43.9%)
CIE-LABlab(54.60, -31.16, 52.21)
CIE-LCHlch(54.60, 60.80, 120.83°)
OKLaboklab(59.82% -0.0897 0.1148)
OKLCHoklch(59.82% 0.146 128)
XYZxyz(15.4998, 22.5485, 4.5724)
Luminance0.2255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F1B #441B8F
analogous
#8F7E1B #668F1B #2C8F1B
triadic
#668F1B #1B668F #8F1B66
tetradic
#668F1B #1B8F7E #441B8F #8F1B2C
square
#668F1B #1B8F7E #441B8F #8F1B2C
split-complementary
#668F1B #1B2C8F #7E1B8F
monochromatic
#1D2808 #415C11 #668F1B #8BC225 #A8DC48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##668F1B#FFFFFF#000000##000000
##668F1B1.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: #668f1b;
/* rgb */ color: rgb(102, 143, 27);
/* oklch */ color: oklch(59.8% 0.146 128.0);
Tailwind
colors: {
  custom: {
    50: '#96b062',
    500: '#668f1b',
    950: '#000000',
  },
}
SCSS
$custom: #668f1b;
$custom-light: #96b062;
$custom-dark: #000000;
JSON
{
  "hex": "#668f1b",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 81.207,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.14566,
    "h": 128
  },
  "luminance": 0.22549
}

Semantic roles & 50–950 ramp

primary
#668F1B
secondary
#7248BE
accent
#3DEB7A
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1006
muted
#7E7F7A

Preview Lab

Preview with #668F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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