#6E7312#6E7312

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

Color values

HEX#6E7312
RGBrgb(110, 115, 18)
HSLhsl(63, 73%, 26%)
HSVhsv(63, 84%, 45%)
CMYKcmyk(4.3%, 0%, 84.3%, 54.9%)
CIE-LABlab(46.47, -13.86, 47.85)
CIE-LCHlch(46.47, 49.81, 106.15°)
OKLaboklab(53.38% -0.0435 0.1036)
OKLCHoklch(53.38% 0.112 112.8)
XYZxyz(12.6708, 15.6204, 2.9197)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7312 #171273
analogous
#734712 #6E7312 #3D7312
triadic
#6E7312 #126E73 #73126E
tetradic
#6E7312 #127347 #171273 #73123D
square
#6E7312 #127347 #171273 #73123D
split-complementary
#6E7312 #123D73 #471273
monochromatic
#191A04 #3B3E0A #6E7312 #A1A81A #D3DD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E7312#FFFFFF#000000##FFFFFF
##6E73121.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)
#7D6F1C
Tritanopia (blue-blind)
#766B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6e7312;
/* rgb */ color: rgb(110, 115, 18);
/* oklch */ color: oklch(53.4% 0.112 112.8);
Tailwind
colors: {
  custom: {
    50: '#9b9b5b',
    500: '#6e7312',
    950: '#000000',
  },
}
SCSS
$custom: #6e7312;
$custom-light: #9b9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7312",
  "rgb": {
    "r": 110,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 63.093,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.11239,
    "h": 112.8
  },
  "luminance": 0.1562
}

Semantic roles & 50–950 ramp

primary
#6E7312
secondary
#3D37AA
accent
#38F042
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7312

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

Preview Lab → · Contrast checker → · Palette generator →

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