#6E6216#6E6216

#6E6216 is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 49.3% C 0.093 H 99.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#6E6216
RGBrgb(110, 98, 22)
HSLhsl(52, 67%, 26%)
HSVhsv(52, 80%, 43%)
CMYKcmyk(0%, 10.9%, 80%, 56.9%)
CIE-LABlab(41.39, -4.12, 41.95)
CIE-LCHlch(41.39, 42.15, 95.61°)
OKLaboklab(49.33% -0.0159 0.0918)
OKLCHoklch(49.33% 0.093 99.8)
XYZxyz(10.9434, 12.1088, 2.5197)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6216 #16226E
analogous
#6E3616 #6E6216 #4E6E16
triadic
#6E6216 #166E62 #62166E
tetradic
#6E6216 #166E36 #16226E #6E164E
square
#6E6216 #166E36 #16226E #6E164E
split-complementary
#6E6216 #164E6E #36166E
monochromatic
#1A1705 #3B350C #6E6216 #A18F20 #D4BD2A

Accessibility & contrast

On white

6.14
#6E6216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6E6216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6216
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6216#FFFFFF#000000##FFFFFF
##6E62161.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F06
Deuteranopia (green-blind)
#70641B
Tritanopia (blue-blind)
#775A54
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6e6216;
/* rgb */ color: rgb(110, 98, 22);
/* oklch */ color: oklch(49.3% 0.093 99.8);
Tailwind
colors: {
  custom: {
    50: '#9b8e5a',
    500: '#6e6216',
    950: '#000000',
  },
}
SCSS
$custom: #6e6216;
$custom-light: #9b8e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6216",
  "rgb": {
    "r": 110,
    "g": 98,
    "b": 22
  },
  "hsl": {
    "h": 51.818,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49334,
    "c": 0.09319,
    "h": 99.8
  },
  "luminance": 0.12108
}

Semantic roles & 50–950 ramp

primary
#6E6216
secondary
#3C4AA4
accent
#56EA3E
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6E6216

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

Preview Lab → · Contrast checker → · Palette generator →

#6E6216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva