#6E8013#6E8013

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

Color values

HEX#6E8013
RGBrgb(110, 128, 19)
HSLhsl(70, 74%, 29%)
HSVhsv(70, 85%, 50%)
CMYKcmyk(14.1%, 0%, 85.2%, 49.8%)
CIE-LABlab(50.45, -20.71, 51.02)
CIE-LCHlch(50.45, 55.06, 112.09°)
OKLaboklab(56.58% -0.0622 0.1106)
OKLCHoklch(56.58% 0.127 119.4)
XYZxyz(14.2674, 18.8004, 3.4932)
Luminance0.1880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E8013 #251380
analogous
#805C13 #6E8013 #388013
triadic
#6E8013 #136E80 #80136E
tetradic
#6E8013 #13805C #251380 #801338
square
#6E8013 #13805C #251380 #801338
split-complementary
#6E8013 #133880 #5C1380
monochromatic
#171B04 #404B0B #6E8013 #9CB51B #C2E02D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E8013#FFFFFF#000000##000000
##6E80131.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)
#87781F
Tritanopia (blue-blind)
#75796D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6e8013;
/* rgb */ color: rgb(110, 128, 19);
/* oklch */ color: oklch(56.6% 0.127 119.4);
Tailwind
colors: {
  custom: {
    50: '#9ba45d',
    500: '#6e8013',
    950: '#000000',
  },
}
SCSS
$custom: #6e8013;
$custom-light: #9ba45d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e8013",
  "rgb": {
    "r": 110,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 69.908,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.56582,
    "c": 0.12694,
    "h": 119.4
  },
  "luminance": 0.188
}

Semantic roles & 50–950 ramp

primary
#6E8013
secondary
#4E39B5
accent
#37F156
background
#F9FAF5
surface
#F2F4E9
border
#CCCEC5
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #6E8013

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

Preview Lab → · Contrast checker → · Palette generator →

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