#6E7311#6E7311

#6E7311 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.4% C 0.113 H 112.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6E7311
RGBrgb(110, 115, 17)
HSLhsl(63, 74%, 26%)
HSVhsv(63, 85%, 45%)
CMYKcmyk(4.3%, 0%, 85.2%, 54.9%)
CIE-LABlab(46.47, -13.89, 48.13)
CIE-LCHlch(46.47, 50.09, 106.10°)
OKLaboklab(53.38% -0.0437 0.1041)
OKLCHoklch(53.38% 0.113 112.8)
XYZxyz(12.6628, 15.6172, 2.8776)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7311 #161173
analogous
#734711 #6E7311 #3D7311
triadic
#6E7311 #116E73 #73116E
tetradic
#6E7311 #117347 #161173 #73113D
square
#6E7311 #117347 #161173 #73113D
split-complementary
#6E7311 #113D73 #471173
monochromatic
#1A1B04 #3B3E09 #6E7311 #A1A819 #D4DE21

Accessibility & contrast

On white

5.09
#6E7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6E7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7311
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7311#FFFFFF#000000##FFFFFF
##6E73111.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7D6F1B
Tritanopia (blue-blind)
#766B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6e7311;
/* rgb */ color: rgb(110, 115, 17);
/* oklch */ color: oklch(53.4% 0.113 112.8);
Tailwind
colors: {
  custom: {
    50: '#9b9b5a',
    500: '#6e7311',
    950: '#000000',
  },
}
SCSS
$custom: #6e7311;
$custom-light: #9b9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7311",
  "rgb": {
    "r": 110,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 63.061,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.11284,
    "h": 112.8
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#6E7311
secondary
#3C36AA
accent
#37F140
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7311

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

Preview Lab → · Contrast checker → · Palette generator →

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