#668F2B#668F2B

#668F2B is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.9% C 0.136 H 129.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#668F2B
RGBrgb(102, 143, 43)
HSLhsl(85, 54%, 36%)
HSVhsv(85, 70%, 56%)
CMYKcmyk(28.7%, 0%, 69.9%, 43.9%)
CIE-LABlab(54.70, -30.19, 46.54)
CIE-LCHlch(54.70, 55.47, 122.98°)
OKLaboklab(59.93% -0.0858 0.1054)
OKLCHoklch(59.93% 0.136 129.1)
XYZxyz(15.7379, 22.6437, 5.8265)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#668F2B #542B8F
analogous
#8F862B #668F2B #348F2B
triadic
#668F2B #2B668F #8F2B66
tetradic
#668F2B #2B8F86 #542B8F #8F2B34
square
#668F2B #2B8F86 #542B8F #8F2B34
split-complementary
#668F2B #2B348F #862B8F
monochromatic
#23310F #44601D #668F2B #88BE39 #A4D064

Accessibility & contrast

On white

3.80
#668F2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#668F2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #668F2B
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##668F2B#FFFFFF#000000##000000
##668F2B1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851C
Deuteranopia (green-blind)
#908233
Tritanopia (blue-blind)
#69897B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #668f2b;
/* rgb */ color: rgb(102, 143, 43);
/* oklch */ color: oklch(59.9% 0.136 129.1);
Tailwind
colors: {
  custom: {
    50: '#95b06a',
    500: '#668f2b',
    950: '#000000',
  },
}
SCSS
$custom: #668f2b;
$custom-light: #95b06a;
$custom-dark: #000000;
JSON
{
  "hex": "#668f2b",
  "rgb": {
    "r": 102,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 84.6,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.13591,
    "h": 129.1
  },
  "luminance": 0.22644
}

Semantic roles & 50–950 ramp

primary
#668F2B
secondary
#835FB7
accent
#4BDD87
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #668F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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