#6E8012#6E8012

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

Color values

HEX#6E8012
RGBrgb(110, 128, 18)
HSLhsl(70, 75%, 29%)
HSVhsv(70, 86%, 50%)
CMYKcmyk(14.1%, 0%, 85.9%, 49.8%)
CIE-LABlab(50.45, -20.74, 51.28)
CIE-LCHlch(50.45, 55.32, 112.02°)
OKLaboklab(56.58% -0.0624 0.111)
OKLCHoklch(56.58% 0.127 119.3)
XYZxyz(14.2591, 18.7971, 3.4492)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8012 #241280
analogous
#805B12 #6E8012 #378012
triadic
#6E8012 #126E80 #80126E
tetradic
#6E8012 #12805B #241280 #801237
square
#6E8012 #12805B #241280 #801237
split-complementary
#6E8012 #123780 #5B1280
monochromatic
#171B04 #404A0A #6E8012 #9CB61A #C3E12B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E8012#FFFFFF#000000##000000
##6E80121.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: #6e8012;
/* rgb */ color: rgb(110, 128, 18);
/* oklch */ color: oklch(56.6% 0.127 119.3);
Tailwind
colors: {
  custom: {
    50: '#9ba45d',
    500: '#6e8012',
    950: '#000000',
  },
}
SCSS
$custom: #6e8012;
$custom-light: #9ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8012",
  "rgb": {
    "r": 110,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 69.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.12736,
    "h": 119.3
  },
  "luminance": 0.18797
}

Semantic roles & 50–950 ramp

primary
#6E8012
secondary
#4D38B6
accent
#36F255
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6E8012

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

Preview Lab → · Contrast checker → · Palette generator →

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