#6E7F16#6E7F16

#6E7F16 is a mid, vivid yellow. Relative luminance 0.186; OKLCH L 56.3% C 0.124 H 119.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6E7F16
RGBrgb(110, 127, 22)
HSLhsl(70, 70%, 29%)
HSVhsv(70, 83%, 50%)
CMYKcmyk(13.4%, 0%, 82.7%, 50.2%)
CIE-LABlab(50.16, -20.08, 49.91)
CIE-LCHlch(50.16, 53.80, 111.91°)
OKLaboklab(56.35% -0.0603 0.1088)
OKLCHoklch(56.35% 0.124 119)
XYZxyz(14.1649, 18.5518, 3.5935)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7F16 #27167F
analogous
#7F5C16 #6E7F16 #3A7F16
triadic
#6E7F16 #166E7F #7F166E
tetradic
#6E7F16 #167F5C #27167F #7F163A
square
#6E7F16 #167F5C #27167F #7F163A
split-complementary
#6E7F16 #163A7F #5C167F
monochromatic
#171A05 #414B0D #6E7F16 #9BB31F #C1DC34

Accessibility & contrast

On white

4.46
#6E7F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#6E7F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7F16
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7F16#FFFFFF#000000##000000
##6E7F161.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#75786C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6e7f16;
/* rgb */ color: rgb(110, 127, 22);
/* oklch */ color: oklch(56.3% 0.124 119.0);
Tailwind
colors: {
  custom: {
    50: '#9ba45e',
    500: '#6e7f16',
    950: '#000000',
  },
}
SCSS
$custom: #6e7f16;
$custom-light: #9ba45e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7f16",
  "rgb": {
    "r": 110,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 69.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.12439,
    "h": 119
  },
  "luminance": 0.18552
}

Semantic roles & 50–950 ramp

primary
#6E7F16
secondary
#503DB4
accent
#3BED57
background
#F9FAF5
surface
#F2F3EA
border
#CCCDC6
text
#0E0F05
muted
#7E7F79

Preview Lab

Preview with #6E7F16

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

Preview Lab → · Contrast checker → · Palette generator →

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