#667212#667212

#667212 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.4% C 0.114 H 117.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#667212
RGBrgb(102, 114, 18)
HSLhsl(68, 73%, 26%)
HSVhsv(68, 84%, 45%)
CMYKcmyk(10.5%, 0%, 84.2%, 55.3%)
CIE-LABlab(45.50, -17.03, 46.74)
CIE-LCHlch(45.50, 49.75, 110.02°)
OKLaboklab(52.44% -0.0518 0.1016)
OKLCHoklch(52.44% 0.114 117)
XYZxyz(11.6063, 14.9032, 2.8373)
Luminance0.1490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667212 #1E1272
analogous
#724E12 #667212 #367212
triadic
#667212 #126672 #721266
tetradic
#667212 #12724E #1E1272 #721236
square
#667212 #12724E #1E1272 #721236
split-complementary
#667212 #123672 #4E1272
monochromatic
#181A04 #373D0A #667212 #95A71A #C5DC23

Accessibility & contrast

On white

5.28
#667212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#667212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667212
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667212#FFFFFF#000000##FFFFFF
##6672121.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#796C1C
Tritanopia (blue-blind)
#6D6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #667212;
/* rgb */ color: rgb(102, 114, 18);
/* oklch */ color: oklch(52.4% 0.114 117.0);
Tailwind
colors: {
  custom: {
    50: '#959a5a',
    500: '#667212',
    950: '#000000',
  },
}
SCSS
$custom: #667212;
$custom-light: #959a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#667212",
  "rgb": {
    "r": 102,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 67.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.52437,
    "c": 0.11405,
    "h": 117
  },
  "luminance": 0.14903
}

Semantic roles & 50–950 ramp

primary
#667212
secondary
#4537A9
accent
#38EF4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667212

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

Preview Lab → · Contrast checker → · Palette generator →

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