#6E7512#6E7512

#6E7512 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 53.9% C 0.115 H 113.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6E7512
RGBrgb(110, 117, 18)
HSLhsl(64, 73%, 26%)
HSVhsv(64, 85%, 46%)
CMYKcmyk(6%, 0%, 84.6%, 54.1%)
CIE-LABlab(47.08, -14.94, 48.38)
CIE-LCHlch(47.08, 50.63, 107.16°)
OKLaboklab(53.87% -0.0465 0.1048)
OKLCHoklch(53.87% 0.115 113.9)
XYZxyz(12.9013, 16.0815, 2.9966)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7512 #191275
analogous
#754B12 #6E7512 #3D7512
triadic
#6E7512 #126E75 #75126E
tetradic
#6E7512 #12754B #191275 #75123D
square
#6E7512 #12754B #191275 #75123D
split-complementary
#6E7512 #123D75 #4B1275
monochromatic
#191B04 #3C400A #6E7512 #A0AA1A #D0DD24

Accessibility & contrast

On white

4.98
#6E7512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6E7512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7512
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7512#FFFFFF#000000##FFFFFF
##6E75121.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#7E711C
Tritanopia (blue-blind)
#766D63
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6e7512;
/* rgb */ color: rgb(110, 117, 18);
/* oklch */ color: oklch(53.9% 0.115 113.9);
Tailwind
colors: {
  custom: {
    50: '#9b9c5b',
    500: '#6e7512',
    950: '#000000',
  },
}
SCSS
$custom: #6e7512;
$custom-light: #9b9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7512",
  "rgb": {
    "r": 110,
    "g": 117,
    "b": 18
  },
  "hsl": {
    "h": 64.242,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.5387,
    "c": 0.11462,
    "h": 113.9
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#6E7512
secondary
#3F37AC
accent
#38F045
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7512

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

Preview Lab → · Contrast checker → · Palette generator →

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