#6E7212#6E7212

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

Color values

HEX#6E7212
RGBrgb(110, 114, 18)
HSLhsl(63, 73%, 26%)
HSVhsv(63, 84%, 45%)
CMYKcmyk(3.5%, 0%, 84.2%, 55.3%)
CIE-LABlab(46.17, -13.31, 47.58)
CIE-LCHlch(46.17, 49.41, 105.63°)
OKLaboklab(53.14% -0.042 0.1031)
OKLCHoklch(53.14% 0.111 112.2)
XYZxyz(12.5573, 15.3936, 2.8819)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7212 #161272
analogous
#724612 #6E7212 #3E7212
triadic
#6E7212 #126E72 #72126E
tetradic
#6E7212 #127246 #161272 #72123E
square
#6E7212 #127246 #161272 #72123E
split-complementary
#6E7212 #123E72 #461272
monochromatic
#191A04 #3B3D0A #6E7212 #A1A71A #D4DC23

Accessibility & contrast

On white

5.15
#6E7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6E7212
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7212#FFFFFF#000000##FFFFFF
##6E72121.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7C6E1B
Tritanopia (blue-blind)
#766A61
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6e7212;
/* rgb */ color: rgb(110, 114, 18);
/* oklch */ color: oklch(53.1% 0.111 112.2);
Tailwind
colors: {
  custom: {
    50: '#9b9a5b',
    500: '#6e7212',
    950: '#000000',
  },
}
SCSS
$custom: #6e7212;
$custom-light: #9b9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7212",
  "rgb": {
    "r": 110,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 62.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53138,
    "c": 0.11129,
    "h": 112.2
  },
  "luminance": 0.15393
}

Semantic roles & 50–950 ramp

primary
#6E7212
secondary
#3C37A9
accent
#38EF40
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7212

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

Preview Lab → · Contrast checker → · Palette generator →

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