#6A7517#6A7517

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

Color values

HEX#6A7517
RGBrgb(106, 117, 23)
HSLhsl(67, 67%, 27%)
HSVhsv(67, 80%, 46%)
CMYKcmyk(9.4%, 0%, 80.3%, 54.1%)
CIE-LABlab(46.78, -16.59, 46.43)
CIE-LCHlch(46.78, 49.30, 109.66°)
OKLaboklab(53.55% -0.0504 0.1017)
OKLCHoklch(53.55% 0.114 116.4)
XYZxyz(12.4601, 15.8488, 3.2132)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7517 #221775
analogous
#755117 #6A7517 #3B7517
triadic
#6A7517 #176A75 #75176A
tetradic
#6A7517 #177551 #221775 #75173B
square
#6A7517 #177551 #221775 #75173B
split-complementary
#6A7517 #173B75 #511775
monochromatic
#171A05 #3C420D #6A7517 #98A821 #C3D630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A7517#FFFFFF#000000##FFFFFF
##6A75171.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)
#7D6F20
Tritanopia (blue-blind)
#716E64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6a7517;
/* rgb */ color: rgb(106, 117, 23);
/* oklch */ color: oklch(53.5% 0.114 116.4);
Tailwind
colors: {
  custom: {
    50: '#989c5d',
    500: '#6a7517',
    950: '#000000',
  },
}
SCSS
$custom: #6a7517;
$custom-light: #989c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7517",
  "rgb": {
    "r": 106,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 67.021,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.11353,
    "h": 116.4
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#6A7517
secondary
#4A3DAA
accent
#3EEA52
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7517

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

Preview Lab → · Contrast checker → · Palette generator →

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