#6F7017#6F7017

#6F7017 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.8% C 0.106 H 110.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6F7017
RGBrgb(111, 112, 23)
HSLhsl(61, 66%, 26%)
HSVhsv(61, 79%, 44%)
CMYKcmyk(0.9%, 0%, 79.5%, 56.1%)
CIE-LABlab(45.68, -11.54, 45.58)
CIE-LCHlch(45.68, 47.02, 104.21°)
OKLaboklab(52.77% -0.0367 0.0997)
OKLCHoklch(52.77% 0.106 110.2)
XYZxyz(12.5048, 15.0301, 3.0528)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7017 #181770
analogous
#704517 #6F7017 #437017
triadic
#6F7017 #176F70 #70176F
tetradic
#6F7017 #177045 #181770 #701743
square
#6F7017 #177045 #181770 #701743
split-complementary
#6F7017 #174370 #451770
monochromatic
#191905 #3D3D0D #6F7017 #A1A321 #D2D42D

Accessibility & contrast

On white

5.24
#6F7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6F7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7017
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7017#FFFFFF#000000##FFFFFF
##6F70171.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B02
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#77685F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6f7017;
/* rgb */ color: rgb(111, 112, 23);
/* oklch */ color: oklch(52.8% 0.106 110.2);
Tailwind
colors: {
  custom: {
    50: '#9b985c',
    500: '#6f7017',
    950: '#000000',
  },
}
SCSS
$custom: #6f7017;
$custom-light: #9b985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7017",
  "rgb": {
    "r": 111,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 60.674,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.10625,
    "h": 110.2
  },
  "luminance": 0.1503
}

Semantic roles & 50–950 ramp

primary
#6F7017
secondary
#3E3DA6
accent
#3FE941
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0D04
muted
#7E7E79

Preview Lab

Preview with #6F7017

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

Preview Lab → · Contrast checker → · Palette generator →

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