#667218#667218

#667218 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.5% C 0.111 H 117.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#667218
RGBrgb(102, 114, 24)
HSLhsl(68, 65%, 27%)
HSVhsv(68, 79%, 45%)
CMYKcmyk(10.5%, 0%, 78.9%, 55.3%)
CIE-LABlab(45.53, -16.77, 44.82)
CIE-LCHlch(45.53, 47.85, 110.51°)
OKLaboklab(52.47% -0.0506 0.0986)
OKLCHoklch(52.47% 0.111 117.2)
XYZxyz(11.6620, 14.9255, 3.1305)
Luminance0.1492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667218 #241872
analogous
#725118 #667218 #397218
triadic
#667218 #186672 #721866
tetradic
#667218 #187251 #241872 #721839
square
#667218 #187251 #241872 #721839
split-complementary
#667218 #183972 #511872
monochromatic
#171905 #393F0D #667218 #93A523 #BED431

Accessibility & contrast

On white

5.27
#667218 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #667218
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667218#FFFFFF#000000##FFFFFF
##6672181.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #667218;
/* rgb */ color: rgb(102, 114, 24);
/* oklch */ color: oklch(52.5% 0.111 117.2);
Tailwind
colors: {
  custom: {
    50: '#959a5d',
    500: '#667218',
    950: '#000000',
  },
}
SCSS
$custom: #667218;
$custom-light: #959a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#667218",
  "rgb": {
    "r": 102,
    "g": 114,
    "b": 24
  },
  "hsl": {
    "h": 68,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.11086,
    "h": 117.2
  },
  "luminance": 0.14925
}

Semantic roles & 50–950 ramp

primary
#667218
secondary
#4C3EA7
accent
#40E856
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667218

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

Preview Lab → · Contrast checker → · Palette generator →

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