#6E7112#6E7112

#6E7112 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 52.9% C 0.110 H 111.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6E7112
RGBrgb(110, 113, 18)
HSLhsl(62, 73%, 26%)
HSVhsv(62, 84%, 44%)
CMYKcmyk(2.7%, 0%, 84.1%, 55.7%)
CIE-LABlab(45.87, -12.76, 47.32)
CIE-LCHlch(45.87, 49.01, 105.09°)
OKLaboklab(52.9% -0.0405 0.1025)
OKLCHoklch(52.9% 0.11 111.6)
XYZxyz(12.4452, 15.1693, 2.8445)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7112 #151271
analogous
#714412 #6E7112 #3E7112
triadic
#6E7112 #126E71 #71126E
tetradic
#6E7112 #127144 #151271 #71123E
square
#6E7112 #127144 #151271 #71123E
split-complementary
#6E7112 #123E71 #441271
monochromatic
#1A1A04 #3B3C0A #6E7112 #A1A61A #D5DB23

Accessibility & contrast

On white

5.21
#6E7112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#6E7112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7112
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7112#FFFFFF#000000##FFFFFF
##6E71121.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#766960
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e7112;
/* rgb */ color: rgb(110, 113, 18);
/* oklch */ color: oklch(52.9% 0.110 111.6);
Tailwind
colors: {
  custom: {
    50: '#9b995a',
    500: '#6e7112',
    950: '#000000',
  },
}
SCSS
$custom: #6e7112;
$custom-light: #9b995a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7112",
  "rgb": {
    "r": 110,
    "g": 113,
    "b": 18
  },
  "hsl": {
    "h": 61.895,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.52895,
    "c": 0.11019,
    "h": 111.6
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#6E7112
secondary
#3A37A8
accent
#39EF3E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E7112

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

Preview Lab → · Contrast checker → · Palette generator →

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