#6E7217#6E7217

#6E7217 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.2% C 0.109 H 112.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6E7217
RGBrgb(110, 114, 23)
HSLhsl(63, 66%, 27%)
HSVhsv(63, 80%, 45%)
CMYKcmyk(3.5%, 0%, 79.8%, 55.3%)
CIE-LABlab(46.19, -13.11, 46.02)
CIE-LCHlch(46.19, 47.85, 105.90°)
OKLaboklab(53.17% -0.041 0.1007)
OKLCHoklch(53.17% 0.109 112.2)
XYZxyz(12.6028, 15.4118, 3.1213)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7217 #1B1772
analogous
#724917 #6E7217 #417217
triadic
#6E7217 #176E72 #72176E
tetradic
#6E7217 #177249 #1B1772 #721741
square
#6E7217 #177249 #1B1772 #721741
split-complementary
#6E7217 #174172 #491772
monochromatic
#191905 #3D3F0D #6E7217 #9FA521 #CED52E

Accessibility & contrast

On white

5.14
#6E7217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6E7217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7217
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7217#FFFFFF#000000##FFFFFF
##6E72171.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C01
Deuteranopia (green-blind)
#7C6E1F
Tritanopia (blue-blind)
#766B61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e7217;
/* rgb */ color: rgb(110, 114, 23);
/* oklch */ color: oklch(53.2% 0.109 112.2);
Tailwind
colors: {
  custom: {
    50: '#9b9a5d',
    500: '#6e7217',
    950: '#000000',
  },
}
SCSS
$custom: #6e7217;
$custom-light: #9b9a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7217",
  "rgb": {
    "r": 110,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 62.637,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.53166,
    "c": 0.10872,
    "h": 112.2
  },
  "luminance": 0.15411
}

Semantic roles & 50–950 ramp

primary
#6E7217
secondary
#423DA8
accent
#3EE946
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7217

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

Preview Lab → · Contrast checker → · Palette generator →

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