#6F7217#6F7217

#6F7217 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.3% C 0.108 H 111.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6F7217
RGBrgb(111, 114, 23)
HSLhsl(62, 66%, 27%)
HSVhsv(62, 80%, 45%)
CMYKcmyk(2.6%, 0%, 79.8%, 55.3%)
CIE-LABlab(46.28, -12.64, 46.13)
CIE-LCHlch(46.28, 47.83, 105.32°)
OKLaboklab(53.26% -0.0398 0.1009)
OKLCHoklch(53.26% 0.108 111.5)
XYZxyz(12.7280, 15.4763, 3.1272)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7217 #1A1772
analogous
#724817 #6F7217 #427217
triadic
#6F7217 #176F72 #72176F
tetradic
#6F7217 #177248 #1A1772 #721742
square
#6F7217 #177248 #1A1772 #721742
split-complementary
#6F7217 #174272 #481772
monochromatic
#191905 #3D3F0D #6F7217 #A1A521 #CFD52E

Accessibility & contrast

On white

5.13
#6F7217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6F7217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7217
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7217#FFFFFF#000000##FFFFFF
##6F72171.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C01
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#776A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7217;
/* rgb */ color: rgb(111, 114, 23);
/* oklch */ color: oklch(53.3% 0.108 111.5);
Tailwind
colors: {
  custom: {
    50: '#9b9a5d',
    500: '#6f7217',
    950: '#000000',
  },
}
SCSS
$custom: #6f7217;
$custom-light: #9b9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7217",
  "rgb": {
    "r": 111,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 61.978,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.10845,
    "h": 111.5
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#6F7217
secondary
#413DA8
accent
#3EE944
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7217

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

Preview Lab → · Contrast checker → · Palette generator →

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