#667118#667118

#667118 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.2% C 0.110 H 116.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#667118
RGBrgb(102, 113, 24)
HSLhsl(67, 65%, 27%)
HSVhsv(67, 79%, 44%)
CMYKcmyk(9.7%, 0%, 78.8%, 55.7%)
CIE-LABlab(45.22, -16.23, 44.53)
CIE-LCHlch(45.22, 47.40, 110.03°)
OKLaboklab(52.22% -0.0491 0.098)
OKLCHoklch(52.22% 0.11 116.6)
XYZxyz(11.5498, 14.7011, 3.0931)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667118 #231871
analogous
#715018 #667118 #3A7118
triadic
#667118 #186671 #711866
tetradic
#667118 #187150 #231871 #71183A
square
#667118 #187150 #231871 #71183A
split-complementary
#667118 #183A71 #501871
monochromatic
#171905 #383F0D #667118 #94A323 #BFD330

Accessibility & contrast

On white

5.33
#667118 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#667118 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #667118
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##667118#FFFFFF#000000##FFFFFF
##6671181.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B04
Deuteranopia (green-blind)
#786C20
Tritanopia (blue-blind)
#6D6A60
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #667118;
/* rgb */ color: rgb(102, 113, 24);
/* oklch */ color: oklch(52.2% 0.110 116.6);
Tailwind
colors: {
  custom: {
    50: '#95995d',
    500: '#667118',
    950: '#000000',
  },
}
SCSS
$custom: #667118;
$custom-light: #95995d;
$custom-dark: #000000;
JSON
{
  "hex": "#667118",
  "rgb": {
    "r": 102,
    "g": 113,
    "b": 24
  },
  "hsl": {
    "h": 67.416,
    "s": 64.964,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.10964,
    "h": 116.6
  },
  "luminance": 0.14701
}

Semantic roles & 50–950 ramp

primary
#667118
secondary
#4B3EA6
accent
#40E855
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667118

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

Preview Lab → · Contrast checker → · Palette generator →

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