#667612#667612

#667612 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.4% C 0.119 H 119.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#667612
RGBrgb(102, 118, 18)
HSLhsl(70, 74%, 27%)
HSVhsv(70, 85%, 46%)
CMYKcmyk(13.6%, 0%, 84.7%, 53.7%)
CIE-LABlab(46.74, -19.15, 47.83)
CIE-LCHlch(46.74, 51.52, 111.82°)
OKLaboklab(53.44% -0.0576 0.1039)
OKLCHoklch(53.44% 0.119 119)
XYZxyz(12.0674, 15.8254, 2.9910)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667612 #221276
analogous
#765412 #667612 #347612
triadic
#667612 #126676 #761266
tetradic
#667612 #127654 #221276 #761234
square
#667612 #127654 #221276 #761234
split-complementary
#667612 #123476 #541276
monochromatic
#171B04 #38410A #667612 #94AB1A #C0DE25

Accessibility & contrast

On white

5.04
#667612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#667612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667612
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667612#FFFFFF#000000##FFFFFF
##6676121.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7D6F1D
Tritanopia (blue-blind)
#6D6F64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #667612;
/* rgb */ color: rgb(102, 118, 18);
/* oklch */ color: oklch(53.4% 0.119 119.0);
Tailwind
colors: {
  custom: {
    50: '#959d5b',
    500: '#667612',
    950: '#000000',
  },
}
SCSS
$custom: #667612;
$custom-light: #959d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#667612",
  "rgb": {
    "r": 102,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 69.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.53438,
    "c": 0.11883,
    "h": 119
  },
  "luminance": 0.15825
}

Semantic roles & 50–950 ramp

primary
#667612
secondary
#4A37AD
accent
#38F055
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667612

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

Preview Lab → · Contrast checker → · Palette generator →

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