#667512#667512

#667512 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.2% C 0.118 H 118.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#667512
RGBrgb(102, 117, 18)
HSLhsl(69, 73%, 26%)
HSVhsv(69, 85%, 46%)
CMYKcmyk(12.8%, 0%, 84.6%, 54.1%)
CIE-LABlab(46.43, -18.62, 47.56)
CIE-LCHlch(46.43, 51.08, 111.38°)
OKLaboklab(53.19% -0.0562 0.1034)
OKLCHoklch(53.19% 0.118 118.5)
XYZxyz(11.9502, 15.5911, 2.9520)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667512 #211275
analogous
#755312 #667512 #357512
triadic
#667512 #126675 #751266
tetradic
#667512 #127553 #211275 #751235
square
#667512 #127553 #211275 #751235
split-complementary
#667512 #123575 #531275
monochromatic
#171B04 #38400A #667512 #94AA1A #C1DD24

Accessibility & contrast

On white

5.10
#667512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#667512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667512
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667512#FFFFFF#000000##FFFFFF
##6675121.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7C6E1C
Tritanopia (blue-blind)
#6D6E63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #667512;
/* rgb */ color: rgb(102, 117, 18);
/* oklch */ color: oklch(53.2% 0.118 118.5);
Tailwind
colors: {
  custom: {
    50: '#959c5b',
    500: '#667512',
    950: '#000000',
  },
}
SCSS
$custom: #667512;
$custom-light: #959c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#667512",
  "rgb": {
    "r": 102,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 69.091,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.11764,
    "h": 118.5
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#667512
secondary
#4937AC
accent
#38F054
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667512

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

Preview Lab → · Contrast checker → · Palette generator →

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