#6E8011#6E8011

#6E8011 is a mid, vivid yellow. Relative luminance 0.188; OKLCH L 56.6% C 0.128 H 119.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6E8011
RGBrgb(110, 128, 17)
HSLhsl(70, 77%, 28%)
HSVhsv(70, 87%, 50%)
CMYKcmyk(14.1%, 0%, 86.7%, 49.8%)
CIE-LABlab(50.45, -20.77, 51.54)
CIE-LCHlch(50.45, 55.57, 111.95°)
OKLaboklab(56.57% -0.0626 0.1114)
OKLCHoklch(56.57% 0.128 119.3)
XYZxyz(14.2511, 18.7939, 3.4070)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8011 #231180
analogous
#805A11 #6E8011 #368011
triadic
#6E8011 #116E80 #80116E
tetradic
#6E8011 #11805A #231180 #801136
square
#6E8011 #11805A #231180 #801136
split-complementary
#6E8011 #113680 #5A1180
monochromatic
#171B04 #404A0A #6E8011 #9CB618 #C4E329

Accessibility & contrast

On white

4.41
#6E8011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#6E8011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E8011
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E8011#FFFFFF#000000##000000
##6E80111.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e8011;
/* rgb */ color: rgb(110, 128, 17);
/* oklch */ color: oklch(56.6% 0.128 119.3);
Tailwind
colors: {
  custom: {
    50: '#9ba45c',
    500: '#6e8011',
    950: '#000000',
  },
}
SCSS
$custom: #6e8011;
$custom-light: #9ba45c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8011",
  "rgb": {
    "r": 110,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 69.73,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56573,
    "c": 0.12776,
    "h": 119.3
  },
  "luminance": 0.18794
}

Semantic roles & 50–950 ramp

primary
#6E8011
secondary
#4C37B6
accent
#35F354
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6E8011

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

Preview Lab → · Contrast checker → · Palette generator →

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