#6E7916#6E7916

#6E7916 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 54.9% C 0.117 H 116.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6E7916
RGBrgb(110, 121, 22)
HSLhsl(67, 69%, 28%)
HSVhsv(67, 82%, 47%)
CMYKcmyk(9.1%, 0%, 81.8%, 52.5%)
CIE-LABlab(48.32, -16.93, 48.27)
CIE-LCHlch(48.32, 51.15, 109.32°)
OKLaboklab(54.87% -0.0517 0.1053)
OKLCHoklch(54.87% 0.117 116.1)
XYZxyz(13.4130, 17.0479, 3.3429)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7916 #211679
analogous
#795216 #6E7916 #3C7916
triadic
#6E7916 #166E79 #79166E
tetradic
#6E7916 #167952 #211679 #79163C
square
#6E7916 #167952 #211679 #79163C
split-complementary
#6E7916 #163C79 #521679
monochromatic
#181A05 #3F450D #6E7916 #9DAD1F #C7D930

Accessibility & contrast

On white

4.76
#6E7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6E7916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7916
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7916#FFFFFF#000000##FFFFFF
##6E79161.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#767267
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6e7916;
/* rgb */ color: rgb(110, 121, 22);
/* oklch */ color: oklch(54.9% 0.117 116.1);
Tailwind
colors: {
  custom: {
    50: '#9b9f5d',
    500: '#6e7916',
    950: '#000000',
  },
}
SCSS
$custom: #6e7916;
$custom-light: #9b9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7916",
  "rgb": {
    "r": 110,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 66.667,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5487,
    "c": 0.11728,
    "h": 116.1
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#6E7916
secondary
#493DAE
accent
#3CEC4F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E05
muted
#7E7E79

Preview Lab

Preview with #6E7916

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

Preview Lab → · Contrast checker → · Palette generator →

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