#6A7417#6A7417

#6A7417 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.3% C 0.112 H 115.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6A7417
RGBrgb(106, 116, 23)
HSLhsl(66, 67%, 27%)
HSVhsv(66, 80%, 45%)
CMYKcmyk(8.6%, 0%, 80.2%, 54.5%)
CIE-LABlab(46.47, -16.05, 46.15)
CIE-LCHlch(46.47, 48.86, 109.18°)
OKLaboklab(53.3% -0.0489 0.1011)
OKLCHoklch(53.3% 0.112 115.8)
XYZxyz(12.3442, 15.6170, 3.1745)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7417 #211774
analogous
#745017 #6A7417 #3B7417
triadic
#6A7417 #176A74 #74176A
tetradic
#6A7417 #177450 #211774 #74173B
square
#6A7417 #177450 #211774 #74173B
split-complementary
#6A7417 #173B74 #501774
monochromatic
#171A05 #3B410D #6A7417 #99A721 #C4D630

Accessibility & contrast

On white

5.09
#6A7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6A7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7417
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7417#FFFFFF#000000##FFFFFF
##6A74171.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#716D63
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6a7417;
/* rgb */ color: rgb(106, 116, 23);
/* oklch */ color: oklch(53.3% 0.112 115.8);
Tailwind
colors: {
  custom: {
    50: '#989b5d',
    500: '#6a7417',
    950: '#000000',
  },
}
SCSS
$custom: #6a7417;
$custom-light: #989b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7417",
  "rgb": {
    "r": 106,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 66.452,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.11234,
    "h": 115.8
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#6A7417
secondary
#493DA9
accent
#3EEA50
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6A7417

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

Preview Lab → · Contrast checker → · Palette generator →

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