#667012#667012

#667012 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 51.9% C 0.112 H 115.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#667012
RGBrgb(102, 112, 18)
HSLhsl(66, 72%, 25%)
HSVhsv(66, 84%, 44%)
CMYKcmyk(8.9%, 0%, 83.9%, 56.1%)
CIE-LABlab(44.88, -15.96, 46.20)
CIE-LCHlch(44.88, 48.88, 109.06°)
OKLaboklab(51.94% -0.0489 0.1004)
OKLCHoklch(51.94% 0.112 115.9)
XYZxyz(11.3832, 14.4570, 2.7630)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667012 #1C1270
analogous
#704B12 #667012 #377012
triadic
#667012 #126670 #701266
tetradic
#667012 #12704B #1C1270 #701237
square
#667012 #12704B #1C1270 #701237
split-complementary
#667012 #123770 #4B1270
monochromatic
#181A04 #363B0A #667012 #96A51A #C6D923

Accessibility & contrast

On white

5.40
#667012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#667012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667012
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667012#FFFFFF#000000##FFFFFF
##6670121.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#786B1B
Tritanopia (blue-blind)
#6D695F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #667012;
/* rgb */ color: rgb(102, 112, 18);
/* oklch */ color: oklch(51.9% 0.112 115.9);
Tailwind
colors: {
  custom: {
    50: '#95985a',
    500: '#667012',
    950: '#000000',
  },
}
SCSS
$custom: #667012;
$custom-light: #95985a;
$custom-dark: #000000;
JSON
{
  "hex": "#667012",
  "rgb": {
    "r": 102,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 66.383,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.11169,
    "h": 115.9
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#667012
secondary
#4337A7
accent
#39EF4C
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #667012

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

Preview Lab → · Contrast checker → · Palette generator →

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