#667117#667117

#667117 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.2% C 0.110 H 116.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#667117
RGBrgb(102, 113, 23)
HSLhsl(67, 66%, 27%)
HSVhsv(67, 80%, 44%)
CMYKcmyk(9.7%, 0%, 79.6%, 55.7%)
CIE-LABlab(45.22, -16.28, 44.88)
CIE-LCHlch(45.22, 47.74, 109.94°)
OKLaboklab(52.22% -0.0493 0.0986)
OKLCHoklch(52.22% 0.11 116.6)
XYZxyz(11.5396, 14.6971, 3.0394)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667117 #221771
analogous
#714F17 #667117 #397117
triadic
#667117 #176671 #711766
tetradic
#667117 #17714F #221771 #711739
square
#667117 #17714F #221771 #711739
split-complementary
#667117 #173971 #4F1771
monochromatic
#171905 #383E0D #667117 #94A421 #C0D42E

Accessibility & contrast

On white

5.33
#667117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#667117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667117
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667117#FFFFFF#000000##FFFFFF
##6671171.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B02
Deuteranopia (green-blind)
#786C1F
Tritanopia (blue-blind)
#6D6A60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #667117;
/* rgb */ color: rgb(102, 113, 23);
/* oklch */ color: oklch(52.2% 0.110 116.6);
Tailwind
colors: {
  custom: {
    50: '#95995c',
    500: '#667117',
    950: '#000000',
  },
}
SCSS
$custom: #667117;
$custom-light: #95995c;
$custom-dark: #000000;
JSON
{
  "hex": "#667117",
  "rgb": {
    "r": 102,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 67.333,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.11023,
    "h": 116.6
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#667117
secondary
#4A3DA7
accent
#3FE954
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667117

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

Preview Lab → · Contrast checker → · Palette generator →

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