#6A7516#6A7516

#6A7516 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.5% C 0.114 H 116.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6A7516
RGBrgb(106, 117, 22)
HSLhsl(67, 68%, 27%)
HSVhsv(67, 81%, 46%)
CMYKcmyk(9.4%, 0%, 81.2%, 54.1%)
CIE-LABlab(46.77, -16.63, 46.75)
CIE-LCHlch(46.77, 49.62, 109.58°)
OKLaboklab(53.54% -0.0506 0.1022)
OKLCHoklch(53.54% 0.114 116.3)
XYZxyz(12.4503, 15.8449, 3.1614)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7516 #211675
analogous
#755016 #6A7516 #3B7516
triadic
#6A7516 #166A75 #75166A
tetradic
#6A7516 #167550 #211675 #75163B
square
#6A7516 #167550 #211675 #75163B
split-complementary
#6A7516 #163B75 #501675
monochromatic
#171A05 #3B410C #6A7516 #99A920 #C4D82E

Accessibility & contrast

On white

5.04
#6A7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6A7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7516
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7516#FFFFFF#000000##FFFFFF
##6A75161.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E00
Deuteranopia (green-blind)
#7D6F1F
Tritanopia (blue-blind)
#716E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a7516;
/* rgb */ color: rgb(106, 117, 22);
/* oklch */ color: oklch(53.5% 0.114 116.3);
Tailwind
colors: {
  custom: {
    50: '#989c5d',
    500: '#6a7516',
    950: '#000000',
  },
}
SCSS
$custom: #6a7516;
$custom-light: #989c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7516",
  "rgb": {
    "r": 106,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 66.947,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.11406,
    "h": 116.3
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#6A7516
secondary
#493CAB
accent
#3DEB51
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6A7516

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

Preview Lab → · Contrast checker → · Palette generator →

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