#667E12#667E12

#667E12 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 55.5% C 0.129 H 122.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#667E12
RGBrgb(102, 126, 18)
HSLhsl(73, 75%, 28%)
HSVhsv(73, 86%, 49%)
CMYKcmyk(19%, 0%, 85.7%, 50.6%)
CIE-LABlab(49.24, -23.27, 50.01)
CIE-LCHlch(49.24, 55.16, 114.95°)
OKLaboklab(55.45% -0.0689 0.1086)
OKLCHoklch(55.45% 0.129 122.4)
XYZxyz(13.0497, 17.7901, 3.3185)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667E12 #2A127E
analogous
#7E6012 #667E12 #307E12
triadic
#667E12 #12667E #7E1266
tetradic
#667E12 #127E60 #2A127E #7E1230
square
#667E12 #127E60 #2A127E #7E1230
split-complementary
#667E12 #12307E #60127E
monochromatic
#161B04 #3B480A #667E12 #91B41A #B8E12A

Accessibility & contrast

On white

4.61
#667E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#667E12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #667E12
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667E12#FFFFFF#000000##FFFFFF
##667E121.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#6C776B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #667e12;
/* rgb */ color: rgb(102, 126, 18);
/* oklch */ color: oklch(55.5% 0.129 122.4);
Tailwind
colors: {
  custom: {
    50: '#95a35c',
    500: '#667e12',
    950: '#000000',
  },
}
SCSS
$custom: #667e12;
$custom-light: #95a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#667e12",
  "rgb": {
    "r": 102,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 73.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55452,
    "c": 0.12858,
    "h": 122.4
  },
  "luminance": 0.1779
}

Semantic roles & 50–950 ramp

primary
#667E12
secondary
#5438B4
accent
#36F260
background
#F9FAF5
surface
#F2F3E9
border
#CCCDC5
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #667E12

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

Preview Lab → · Contrast checker → · Palette generator →

#667E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva