#6E6917#6E6917

#6E6917 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 51.0% C 0.099 H 105.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6E6917
RGBrgb(110, 105, 23)
HSLhsl(57, 65%, 26%)
HSVhsv(57, 79%, 43%)
CMYKcmyk(0%, 4.5%, 79.1%, 56.9%)
CIE-LABlab(43.48, -8.09, 43.52)
CIE-LCHlch(43.48, 44.27, 100.54°)
OKLaboklab(51% -0.027 0.0954)
OKLCHoklch(51% 0.099 105.8)
XYZxyz(11.6371, 13.4804, 2.7994)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6917 #171C6E
analogous
#6E3D17 #6E6917 #476E17
triadic
#6E6917 #176E69 #69176E
tetradic
#6E6917 #176E3D #171C6E #6E1747
square
#6E6917 #176E3D #171C6E #6E1747
split-complementary
#6E6917 #17476E #3D176E
monochromatic
#191805 #3B390C #6E6917 #A19922 #D3C92C

Accessibility & contrast

On white

5.68
#6E6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6E6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6917
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6917#FFFFFF#000000##FFFFFF
##6E69171.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#75681D
Tritanopia (blue-blind)
#776159
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6e6917;
/* rgb */ color: rgb(110, 105, 23);
/* oklch */ color: oklch(51.0% 0.099 105.8);
Tailwind
colors: {
  custom: {
    50: '#9b935b',
    500: '#6e6917',
    950: '#000000',
  },
}
SCSS
$custom: #6e6917;
$custom-light: #9b935b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6917",
  "rgb": {
    "r": 110,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 56.552,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50997,
    "c": 0.09912,
    "h": 105.8
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

primary
#6E6917
secondary
#3D43A4
accent
#49E83F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E6917

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

Preview Lab → · Contrast checker → · Palette generator →

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