#667B1F#667B1F

#667B1F is a mid, moderate yellow-green. Relative luminance 0.171; OKLCH L 54.8% C 0.118 H 121.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#667B1F
RGBrgb(102, 123, 31)
HSLhsl(74, 60%, 30%)
HSVhsv(74, 75%, 48%)
CMYKcmyk(17.1%, 0%, 74.8%, 51.8%)
CIE-LABlab(48.37, -21.11, 44.95)
CIE-LCHlch(48.37, 49.66, 115.16°)
OKLaboklab(54.77% -0.0619 0.1002)
OKLCHoklch(54.77% 0.118 121.7)
XYZxyz(12.8100, 17.0896, 3.9198)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667B1F #341F7B
analogous
#7B621F #667B1F #387B1F
triadic
#667B1F #1F667B #7B1F66
tetradic
#667B1F #1F7B62 #341F7B #7B1F38
square
#667B1F #1F7B62 #341F7B #7B1F38
split-complementary
#667B1F #1F387B #621F7B
monochromatic
#151906 #3D4A13 #667B1F #8FAC2B #B0D044

Accessibility & contrast

On white

4.75
#667B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#667B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667B1F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667B1F#FFFFFF#000000##FFFFFF
##667B1F1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730E
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#6C7469
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #667b1f;
/* rgb */ color: rgb(102, 123, 31);
/* oklch */ color: oklch(54.8% 0.118 121.7);
Tailwind
colors: {
  custom: {
    50: '#94a162',
    500: '#667b1f',
    950: '#000000',
  },
}
SCSS
$custom: #667b1f;
$custom-light: #94a162;
$custom-dark: #000000;
JSON
{
  "hex": "#667b1f",
  "rgb": {
    "r": 102,
    "g": 123,
    "b": 31
  },
  "hsl": {
    "h": 73.696,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54773,
    "c": 0.11778,
    "h": 121.7
  },
  "luminance": 0.1709
}

Semantic roles & 50–950 ramp

primary
#667B1F
secondary
#5F48AE
accent
#45E369
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0D0E05
muted
#7E7E7A

Preview Lab

Preview with #667B1F

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

Preview Lab → · Contrast checker → · Palette generator →

#667B1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva