#667312#667312

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

Color values

HEX#667312
RGBrgb(102, 115, 18)
HSLhsl(68, 73%, 26%)
HSVhsv(68, 84%, 45%)
CMYKcmyk(11.3%, 0%, 84.3%, 54.9%)
CIE-LABlab(45.81, -17.57, 47.02)
CIE-LCHlch(45.81, 50.19, 110.49°)
OKLaboklab(52.69% -0.0533 0.1022)
OKLCHoklch(52.69% 0.115 117.5)
XYZxyz(11.7197, 15.1301, 2.8752)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667312 #1F1273
analogous
#734F12 #667312 #357312
triadic
#667312 #126673 #731266
tetradic
#667312 #12734F #1F1273 #731235
square
#667312 #12734F #1F1273 #731235
split-complementary
#667312 #123573 #4F1273
monochromatic
#171A04 #373E0A #667312 #95A81A #C4DD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##667312#FFFFFF#000000##FFFFFF
##6673121.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)
#7A6D1C
Tritanopia (blue-blind)
#6D6C62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #667312;
/* rgb */ color: rgb(102, 115, 18);
/* oklch */ color: oklch(52.7% 0.115 117.5);
Tailwind
colors: {
  custom: {
    50: '#959b5b',
    500: '#667312',
    950: '#000000',
  },
}
SCSS
$custom: #667312;
$custom-light: #959b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#667312",
  "rgb": {
    "r": 102,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 68.041,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.11524,
    "h": 117.5
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#667312
secondary
#4637AA
accent
#38F051
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667312

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

Preview Lab → · Contrast checker → · Palette generator →

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