#6E6F17#6E6F17

#6E6F17 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.4% C 0.105 H 110.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6E6F17
RGBrgb(110, 111, 23)
HSLhsl(61, 66%, 26%)
HSVhsv(61, 79%, 44%)
CMYKcmyk(0.9%, 0%, 79.3%, 56.5%)
CIE-LABlab(45.28, -11.46, 45.19)
CIE-LCHlch(45.28, 46.62, 104.23°)
OKLaboklab(52.44% -0.0364 0.0989)
OKLCHoklch(52.44% 0.105 110.2)
XYZxyz(12.2699, 14.7461, 3.0104)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6F17 #18176F
analogous
#6F4417 #6E6F17 #426F17
triadic
#6E6F17 #176E6F #6F176E
tetradic
#6E6F17 #176F44 #18176F #6F1742
square
#6E6F17 #176F44 #18176F #6F1742
split-complementary
#6E6F17 #17426F #44176F
monochromatic
#191905 #3C3C0C #6E6F17 #A0A222 #D2D32D

Accessibility & contrast

On white

5.32
#6E6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6E6F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6F17
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6F17#FFFFFF#000000##FFFFFF
##6E6F171.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#76675F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6e6f17;
/* rgb */ color: rgb(110, 111, 23);
/* oklch */ color: oklch(52.4% 0.105 110.2);
Tailwind
colors: {
  custom: {
    50: '#9b985c',
    500: '#6e6f17',
    950: '#000000',
  },
}
SCSS
$custom: #6e6f17;
$custom-light: #9b985c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6f17",
  "rgb": {
    "r": 110,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 60.682,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.10541,
    "h": 110.2
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#6E6F17
secondary
#3E3DA5
accent
#3FE941
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E6F17

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

Preview Lab → · Contrast checker → · Palette generator →

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