#6E7D17#6E7D17

#6E7D17 is a mid, vivid yellow. Relative luminance 0.180; OKLCH L 55.9% C 0.122 H 118.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6E7D17
RGBrgb(110, 125, 23)
HSLhsl(69, 69%, 29%)
HSVhsv(69, 82%, 49%)
CMYKcmyk(12%, 0%, 81.6%, 51%)
CIE-LABlab(49.55, -18.99, 49.06)
CIE-LCHlch(49.55, 52.61, 111.16°)
OKLaboklab(55.86% -0.0573 0.1072)
OKLCHoklch(55.86% 0.122 118.1)
XYZxyz(13.9190, 18.0442, 3.5601)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7D17 #26177D
analogous
#7D5917 #6E7D17 #3B7D17
triadic
#6E7D17 #176E7D #7D176E
tetradic
#6E7D17 #177D59 #26177D #7D173B
square
#6E7D17 #177D59 #26177D #7D173B
split-complementary
#6E7D17 #173B7D #59177D
monochromatic
#171A05 #41490D #6E7D17 #9BB121 #C1DA35

Accessibility & contrast

On white

4.56
#6E7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#6E7D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6E7D17
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7D17#FFFFFF#000000##000000
##6E7D171.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#75766A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6e7d17;
/* rgb */ color: rgb(110, 125, 23);
/* oklch */ color: oklch(55.9% 0.122 118.1);
Tailwind
colors: {
  custom: {
    50: '#9ba25e',
    500: '#6e7d17',
    950: '#000000',
  },
}
SCSS
$custom: #6e7d17;
$custom-light: #9ba25e;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7d17",
  "rgb": {
    "r": 110,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 68.824,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5586,
    "c": 0.12151,
    "h": 118.1
  },
  "luminance": 0.18044
}

Semantic roles & 50–950 ramp

primary
#6E7D17
secondary
#4F3EB2
accent
#3CEC56
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0E0F05
muted
#7E7E79

Preview Lab

Preview with #6E7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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