#667311#667311

#667311 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 52.7% C 0.116 H 117.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#667311
RGBrgb(102, 115, 17)
HSLhsl(68, 74%, 26%)
HSVhsv(68, 85%, 45%)
CMYKcmyk(11.3%, 0%, 85.2%, 54.9%)
CIE-LABlab(45.81, -17.60, 47.30)
CIE-LCHlch(45.81, 50.47, 110.41°)
OKLaboklab(52.68% -0.0535 0.1026)
OKLCHoklch(52.68% 0.116 117.5)
XYZxyz(11.7117, 15.1269, 2.8330)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667311 #1E1173
analogous
#734F11 #667311 #357311
triadic
#667311 #116673 #731166
tetradic
#667311 #11734F #1E1173 #731135
square
#667311 #11734F #1E1173 #731135
split-complementary
#667311 #113573 #4F1173
monochromatic
#181B04 #373E09 #667311 #95A819 #C5DE21

Accessibility & contrast

On white

5.22
#667311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#667311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667311
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667311#FFFFFF#000000##FFFFFF
##6673111.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#6D6C62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #667311;
/* rgb */ color: rgb(102, 115, 17);
/* oklch */ color: oklch(52.7% 0.116 117.5);
Tailwind
colors: {
  custom: {
    50: '#959b5a',
    500: '#667311',
    950: '#000000',
  },
}
SCSS
$custom: #667311;
$custom-light: #959b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#667311",
  "rgb": {
    "r": 102,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 67.959,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52682,
    "c": 0.1157,
    "h": 117.5
  },
  "luminance": 0.15127
}

Semantic roles & 50–950 ramp

primary
#667311
secondary
#4536AA
accent
#37F150
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667311

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

Preview Lab → · Contrast checker → · Palette generator →

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