#667412#667412

#667412 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 52.9% C 0.116 H 118.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#667412
RGBrgb(102, 116, 18)
HSLhsl(69, 73%, 26%)
HSVhsv(69, 84%, 45%)
CMYKcmyk(12.1%, 0%, 84.5%, 54.5%)
CIE-LABlab(46.12, -18.10, 47.29)
CIE-LCHlch(46.12, 50.63, 110.94°)
OKLaboklab(52.94% -0.0547 0.1028)
OKLCHoklch(52.94% 0.116 118)
XYZxyz(11.8344, 15.3594, 2.9134)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667412 #201274
analogous
#745112 #667412 #357412
triadic
#667412 #126674 #741266
tetradic
#667412 #127451 #201274 #741235
square
#667412 #127451 #201274 #741235
split-complementary
#667412 #123574 #511274
monochromatic
#171A04 #373F0A #667412 #95A91A #C2DD23

Accessibility & contrast

On white

5.16
#667412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#667412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667412
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667412#FFFFFF#000000##FFFFFF
##6674121.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#6D6D62
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #667412;
/* rgb */ color: rgb(102, 116, 18);
/* oklch */ color: oklch(52.9% 0.116 118.0);
Tailwind
colors: {
  custom: {
    50: '#959c5b',
    500: '#667412',
    950: '#000000',
  },
}
SCSS
$custom: #667412;
$custom-light: #959c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#667412",
  "rgb": {
    "r": 102,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 68.571,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.11644,
    "h": 118
  },
  "luminance": 0.15359
}

Semantic roles & 50–950 ramp

primary
#667412
secondary
#4837AB
accent
#38F052
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667412

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

Preview Lab → · Contrast checker → · Palette generator →

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