#667215#667215

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

Color values

HEX#667215
RGBrgb(102, 114, 21)
HSLhsl(68, 69%, 26%)
HSVhsv(68, 82%, 45%)
CMYKcmyk(10.5%, 0%, 81.6%, 55.3%)
CIE-LABlab(45.52, -16.91, 45.82)
CIE-LCHlch(45.52, 48.84, 110.25°)
OKLaboklab(52.45% -0.0512 0.1002)
OKLCHoklch(52.45% 0.113 117.1)
XYZxyz(11.6325, 14.9137, 2.9752)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#667215 #211572
analogous
#725015 #667215 #387215
triadic
#667215 #156672 #721566
tetradic
#667215 #157250 #211572 #721538
square
#667215 #157250 #211572 #721538
split-complementary
#667215 #153872 #501572
monochromatic
#171A05 #383E0B #667215 #94A61F #C1D82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##667215#FFFFFF#000000##FFFFFF
##6672151.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)
#7A6B00
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#6D6B61
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #667215;
/* rgb */ color: rgb(102, 114, 21);
/* oklch */ color: oklch(52.5% 0.113 117.1);
Tailwind
colors: {
  custom: {
    50: '#959a5c',
    500: '#667215',
    950: '#000000',
  },
}
SCSS
$custom: #667215;
$custom-light: #959a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#667215",
  "rgb": {
    "r": 102,
    "g": 114,
    "b": 21
  },
  "hsl": {
    "h": 67.742,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52453,
    "c": 0.11254,
    "h": 117.1
  },
  "luminance": 0.14914
}

Semantic roles & 50–950 ramp

primary
#667215
secondary
#493BA8
accent
#3CEC53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #667215

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

Preview Lab → · Contrast checker → · Palette generator →

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