#6E7612#6E7612

#6E7612 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.1% C 0.116 H 114.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6E7612
RGBrgb(110, 118, 18)
HSLhsl(65, 74%, 27%)
HSVhsv(65, 85%, 46%)
CMYKcmyk(6.8%, 0%, 84.7%, 53.7%)
CIE-LABlab(47.39, -15.48, 48.64)
CIE-LCHlch(47.39, 51.05, 107.65°)
OKLaboklab(54.11% -0.048 0.1053)
OKLCHoklch(54.11% 0.116 114.5)
XYZxyz(13.0184, 16.3158, 3.0356)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E7612 #1A1276
analogous
#764C12 #6E7612 #3C7612
triadic
#6E7612 #126E76 #76126E
tetradic
#6E7612 #12764C #1A1276 #76123C
square
#6E7612 #12764C #1A1276 #76123C
split-complementary
#6E7612 #123C76 #4C1276
monochromatic
#191B04 #3D410A #6E7612 #A0AB1A #CFDE25

Accessibility & contrast

On white

4.93
#6E7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6E7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E7612
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E7612#FFFFFF#000000##FFFFFF
##6E76121.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7F711C
Tritanopia (blue-blind)
#766E64
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6e7612;
/* rgb */ color: rgb(110, 118, 18);
/* oklch */ color: oklch(54.1% 0.116 114.5);
Tailwind
colors: {
  custom: {
    50: '#9b9d5b',
    500: '#6e7612',
    950: '#000000',
  },
}
SCSS
$custom: #6e7612;
$custom-light: #9b9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e7612",
  "rgb": {
    "r": 110,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 64.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.11575,
    "h": 114.5
  },
  "luminance": 0.16316
}

Semantic roles & 50–950 ramp

primary
#6E7612
secondary
#4137AD
accent
#38F046
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0E04
muted
#7E7E79

Preview Lab

Preview with #6E7612

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

Preview Lab → · Contrast checker → · Palette generator →

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