#6A7017#6A7017

#6A7017 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.3% C 0.108 H 113.5°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6A7017
RGBrgb(106, 112, 23)
HSLhsl(64, 66%, 26%)
HSVhsv(64, 79%, 44%)
CMYKcmyk(5.4%, 0%, 79.5%, 56.1%)
CIE-LABlab(45.24, -13.88, 45.02)
CIE-LCHlch(45.24, 47.11, 107.14°)
OKLaboklab(52.32% -0.0429 0.0987)
OKLCHoklch(52.32% 0.108 113.5)
XYZxyz(11.8931, 14.7146, 3.0241)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A7017 #1D1770
analogous
#704A17 #6A7017 #3E7017
triadic
#6A7017 #176A70 #70176A
tetradic
#6A7017 #17704A #1D1770 #70173E
square
#6A7017 #17704A #1D1770 #70173E
split-complementary
#6A7017 #173E70 #4A1770
monochromatic
#181905 #3A3D0D #6A7017 #9AA321 #C9D42D

Accessibility & contrast

On white

5.33
#6A7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6A7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A7017
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A7017#FFFFFF#000000##FFFFFF
##6A70171.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A02
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#72695F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6a7017;
/* rgb */ color: rgb(106, 112, 23);
/* oklch */ color: oklch(52.3% 0.108 113.5);
Tailwind
colors: {
  custom: {
    50: '#98985c',
    500: '#6a7017',
    950: '#000000',
  },
}
SCSS
$custom: #6a7017;
$custom-light: #98985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a7017",
  "rgb": {
    "r": 106,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 64.045,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.10765,
    "h": 113.5
  },
  "luminance": 0.14714
}

Semantic roles & 50–950 ramp

primary
#6A7017
secondary
#443DA6
accent
#3FE94A
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6A7017

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

Preview Lab → · Contrast checker → · Palette generator →

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