#6F7311#6F7311

#6F7311 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.5% C 0.113 H 112.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6F7311
RGBrgb(111, 115, 17)
HSLhsl(62, 74%, 26%)
HSVhsv(62, 85%, 45%)
CMYKcmyk(3.5%, 0%, 85.2%, 54.9%)
CIE-LABlab(46.55, -13.42, 48.24)
CIE-LCHlch(46.55, 50.07, 105.55°)
OKLaboklab(53.47% -0.0424 0.1042)
OKLCHoklch(53.47% 0.113 112.2)
XYZxyz(12.7879, 15.6818, 2.8835)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7311 #151173
analogous
#734611 #6F7311 #3E7311
triadic
#6F7311 #116F73 #73116F
tetradic
#6F7311 #117346 #151173 #73113E
square
#6F7311 #117346 #151173 #73113E
split-complementary
#6F7311 #113E73 #461173
monochromatic
#1A1B04 #3C3E09 #6F7311 #A2A819 #D6DE21

Accessibility & contrast

On white

5.08
#6F7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6F7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7311
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7311#FFFFFF#000000##FFFFFF
##6F73111.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#7D6F1B
Tritanopia (blue-blind)
#776B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7311;
/* rgb */ color: rgb(111, 115, 17);
/* oklch */ color: oklch(53.5% 0.113 112.2);
Tailwind
colors: {
  custom: {
    50: '#9c9b5a',
    500: '#6f7311',
    950: '#000000',
  },
}
SCSS
$custom: #6f7311;
$custom-light: #9c9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7311",
  "rgb": {
    "r": 111,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 62.449,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53467,
    "c": 0.11254,
    "h": 112.2
  },
  "luminance": 0.15681
}

Semantic roles & 50–950 ramp

primary
#6F7311
secondary
#3A36AA
accent
#37F13F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7311

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

Preview Lab → · Contrast checker → · Palette generator →

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