#6F8011#6F8011

#6F8011 is a mid, vivid yellow. Relative luminance 0.189; OKLCH L 56.7% C 0.127 H 118.8°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6F8011
RGBrgb(111, 128, 17)
HSLhsl(69, 77%, 28%)
HSVhsv(69, 87%, 50%)
CMYKcmyk(13.3%, 0%, 86.7%, 49.8%)
CIE-LABlab(50.52, -20.33, 51.63)
CIE-LCHlch(50.52, 55.49, 111.49°)
OKLaboklab(56.65% -0.0614 0.1116)
OKLCHoklch(56.65% 0.127 118.8)
XYZxyz(14.3762, 18.8584, 3.4129)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F8011 #221180
analogous
#805911 #6F8011 #378011
triadic
#6F8011 #116F80 #80116F
tetradic
#6F8011 #118059 #221180 #801137
square
#6F8011 #118059 #221180 #801137
split-complementary
#6F8011 #113780 #591180
monochromatic
#171B04 #404A0A #6F8011 #9EB618 #C6E329

Accessibility & contrast

On white

4.40
#6F8011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#6F8011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6F8011
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F8011#FFFFFF#000000##000000
##6F80111.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#87791E
Tritanopia (blue-blind)
#76786D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6f8011;
/* rgb */ color: rgb(111, 128, 17);
/* oklch */ color: oklch(56.7% 0.127 118.8);
Tailwind
colors: {
  custom: {
    50: '#9ca45c',
    500: '#6f8011',
    950: '#000000',
  },
}
SCSS
$custom: #6f8011;
$custom-light: #9ca45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6f8011",
  "rgb": {
    "r": 111,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 69.189,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56654,
    "c": 0.12734,
    "h": 118.8
  },
  "luminance": 0.18858
}

Semantic roles & 50–950 ramp

primary
#6F8011
secondary
#4A37B6
accent
#35F352
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6F8011

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

Preview Lab → · Contrast checker → · Palette generator →

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