#6E6E17#6E6E17

#6E6E17 is a mid, moderate yellow. Relative luminance 0.145; OKLCH L 52.2% C 0.104 H 109.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#6E6E17
RGBrgb(110, 110, 23)
HSLhsl(60, 65%, 26%)
HSVhsv(60, 79%, 43%)
CMYKcmyk(0%, 0%, 79.1%, 56.9%)
CIE-LABlab(44.98, -10.90, 44.91)
CIE-LCHlch(44.98, 46.21, 103.65°)
OKLaboklab(52.2% -0.0349 0.0983)
OKLCHoklch(52.2% 0.104 109.5)
XYZxyz(12.1614, 14.5291, 2.9742)
Luminance0.1453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6E17 #17176E
analogous
#6E4217 #6E6E17 #426E17
triadic
#6E6E17 #176E6E #6E176E
tetradic
#6E6E17 #176E42 #17176E #6E1742
square
#6E6E17 #176E42 #17176E #6E1742
split-complementary
#6E6E17 #17426E #42176E
monochromatic
#191905 #3B3B0C #6E6E17 #A1A122 #D3D32C

Accessibility & contrast

On white

5.38
#6E6E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#6E6E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6E17
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6E17#FFFFFF#000000##FFFFFF
##6E6E171.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776903
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#76665E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6e6e17;
/* rgb */ color: rgb(110, 110, 23);
/* oklch */ color: oklch(52.2% 0.104 109.5);
Tailwind
colors: {
  custom: {
    50: '#9b975c',
    500: '#6e6e17',
    950: '#000000',
  },
}
SCSS
$custom: #6e6e17;
$custom-light: #9b975c;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6e17",
  "rgb": {
    "r": 110,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.10433,
    "h": 109.5
  },
  "luminance": 0.14529
}

Semantic roles & 50–950 ramp

primary
#6E6E17
secondary
#3D3DA4
accent
#3FE83F
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E6E17

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

Preview Lab → · Contrast checker → · Palette generator →

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