#6B7017#6B7017

#6B7017 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.4% C 0.107 H 112.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#6B7017
RGBrgb(107, 112, 23)
HSLhsl(63, 66%, 26%)
HSVhsv(63, 79%, 44%)
CMYKcmyk(4.5%, 0%, 79.5%, 56.1%)
CIE-LABlab(45.33, -13.42, 45.13)
CIE-LCHlch(45.33, 47.08, 106.56°)
OKLaboklab(52.41% -0.0417 0.0989)
OKLCHoklch(52.41% 0.107 112.9)
XYZxyz(12.0126, 14.7763, 3.0298)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B7017 #1C1770
analogous
#704917 #6B7017 #3F7017
triadic
#6B7017 #176B70 #70176B
tetradic
#6B7017 #177049 #1C1770 #70173F
square
#6B7017 #177049 #1C1770 #70173F
split-complementary
#6B7017 #173F70 #491770
monochromatic
#181905 #3A3D0D #6B7017 #9CA321 #CBD42D

Accessibility & contrast

On white

5.31
#6B7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6B7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B7017
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B7017#FFFFFF#000000##FFFFFF
##6B70171.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b7017;
/* rgb */ color: rgb(107, 112, 23);
/* oklch */ color: oklch(52.4% 0.107 112.9);
Tailwind
colors: {
  custom: {
    50: '#98985c',
    500: '#6b7017',
    950: '#000000',
  },
}
SCSS
$custom: #6b7017;
$custom-light: #98985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b7017",
  "rgb": {
    "r": 107,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 63.371,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.10735,
    "h": 112.9
  },
  "luminance": 0.14776
}

Semantic roles & 50–950 ramp

primary
#6B7017
secondary
#433DA6
accent
#3FE948
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6B7017

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

Preview Lab → · Contrast checker → · Palette generator →

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