#667315#667315

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

Color values

HEX#667315
RGBrgb(102, 115, 21)
HSLhsl(68, 69%, 27%)
HSVhsv(68, 82%, 45%)
CMYKcmyk(11.3%, 0%, 81.7%, 54.9%)
CIE-LABlab(45.83, -17.44, 46.10)
CIE-LCHlch(45.83, 49.29, 110.72°)
OKLaboklab(52.7% -0.0527 0.1008)
OKLCHoklch(52.7% 0.114 117.6)
XYZxyz(11.7459, 15.1405, 3.0130)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667315 #221573
analogous
#735115 #667315 #377315
triadic
#667315 #156673 #731566
tetradic
#667315 #157351 #221573 #731537
square
#667315 #157351 #221573 #731537
split-complementary
#667315 #153773 #511573
monochromatic
#171A05 #383F0C #667315 #94A71E #C0D82A

Accessibility & contrast

On white

5.21
#667315 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #667315
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667315#FFFFFF#000000##FFFFFF
##6673151.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #667315;
/* rgb */ color: rgb(102, 115, 21);
/* oklch */ color: oklch(52.7% 0.114 117.6);
Tailwind
colors: {
  custom: {
    50: '#959b5c',
    500: '#667315',
    950: '#000000',
  },
}
SCSS
$custom: #667315;
$custom-light: #959b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#667315",
  "rgb": {
    "r": 102,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 68.298,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52703,
    "c": 0.11375,
    "h": 117.6
  },
  "luminance": 0.1514
}

Semantic roles & 50–950 ramp

primary
#667315
secondary
#4A3BA9
accent
#3CEC54
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667315

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

Preview Lab → · Contrast checker → · Palette generator →

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