#6F7211#6F7211

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

Color values

HEX#6F7211
RGBrgb(111, 114, 17)
HSLhsl(62, 74%, 26%)
HSVhsv(62, 85%, 45%)
CMYKcmyk(2.6%, 0%, 85.1%, 55.3%)
CIE-LABlab(46.25, -12.88, 47.98)
CIE-LCHlch(46.25, 49.67, 105.02°)
OKLaboklab(53.22% -0.0409 0.1037)
OKLCHoklch(53.22% 0.111 111.5)
XYZxyz(12.6745, 15.4549, 2.8457)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7211 #141172
analogous
#724411 #6F7211 #3E7211
triadic
#6F7211 #116F72 #72116F
tetradic
#6F7211 #117244 #141172 #72113E
square
#6F7211 #117244 #141172 #72113E
split-complementary
#6F7211 #113E72 #441172
monochromatic
#1A1B04 #3B3D09 #6F7211 #A3A719 #D7DD21

Accessibility & contrast

On white

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

On black

4.09
#6F7211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6F7211#FFFFFF#000000##FFFFFF
##6F72111.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f7211;
/* rgb */ color: rgb(111, 114, 17);
/* oklch */ color: oklch(53.2% 0.111 111.5);
Tailwind
colors: {
  custom: {
    50: '#9c9a5a',
    500: '#6f7211',
    950: '#000000',
  },
}
SCSS
$custom: #6f7211;
$custom-light: #9c9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7211",
  "rgb": {
    "r": 111,
    "g": 114,
    "b": 17
  },
  "hsl": {
    "h": 61.856,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.53224,
    "c": 0.11145,
    "h": 111.5
  },
  "luminance": 0.15455
}

Semantic roles & 50–950 ramp

primary
#6F7211
secondary
#3936A9
accent
#37F13D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7211

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

Preview Lab → · Contrast checker → · Palette generator →

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