#6E7012#6E7012

#6E7012 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 52.7% C 0.109 H 110.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#6E7012
RGBrgb(110, 112, 18)
HSLhsl(61, 72%, 25%)
HSVhsv(61, 84%, 44%)
CMYKcmyk(1.8%, 0%, 83.9%, 56.1%)
CIE-LABlab(45.56, -12.21, 47.05)
CIE-LCHlch(45.56, 48.61, 104.55°)
OKLaboklab(52.65% -0.0389 0.1019)
OKLCHoklch(52.65% 0.109 110.9)
XYZxyz(12.3342, 14.9474, 2.8076)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7012 #141270
analogous
#704312 #6E7012 #3F7012
triadic
#6E7012 #126E70 #70126E
tetradic
#6E7012 #127043 #141270 #70123F
square
#6E7012 #127043 #141270 #70123F
split-complementary
#6E7012 #123F70 #431270
monochromatic
#1A1A04 #3A3B0A #6E7012 #A2A51A #D6D923

Accessibility & contrast

On white

5.26
#6E7012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#6E7012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7012
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7012#FFFFFF#000000##FFFFFF
##6E70121.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#76685F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6e7012;
/* rgb */ color: rgb(110, 112, 18);
/* oklch */ color: oklch(52.7% 0.109 110.9);
Tailwind
colors: {
  custom: {
    50: '#9b985a',
    500: '#6e7012',
    950: '#000000',
  },
}
SCSS
$custom: #6e7012;
$custom-light: #9b985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7012",
  "rgb": {
    "r": 110,
    "g": 112,
    "b": 18
  },
  "hsl": {
    "h": 61.277,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.52653,
    "c": 0.10911,
    "h": 110.9
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

primary
#6E7012
secondary
#3937A7
accent
#39EF3D
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E7012

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

Preview Lab → · Contrast checker → · Palette generator →

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