#6E6F12#6E6F12

#6E6F12 is a mid, moderate yellow. Relative luminance 0.147; OKLCH L 52.4% C 0.108 H 110.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#6E6F12
RGBrgb(110, 111, 18)
HSLhsl(61, 72%, 25%)
HSVhsv(61, 84%, 44%)
CMYKcmyk(0.9%, 0%, 83.8%, 56.5%)
CIE-LABlab(45.26, -11.66, 46.79)
CIE-LCHlch(45.26, 48.22, 103.99°)
OKLaboklab(52.41% -0.0374 0.1014)
OKLCHoklch(52.41% 0.108 110.3)
XYZxyz(12.2245, 14.7279, 2.7710)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E6F12 #13126F
analogous
#6F4112 #6E6F12 #3F6F12
triadic
#6E6F12 #126E6F #6F126E
tetradic
#6E6F12 #126F41 #13126F #6F123F
square
#6E6F12 #126F41 #13126F #6F123F
split-complementary
#6E6F12 #123F6F #41126F
monochromatic
#1A1A04 #3A3A09 #6E6F12 #A2A41B #D6D823

Accessibility & contrast

On white

5.32
#6E6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#6E6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E6F12
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E6F12#FFFFFF#000000##FFFFFF
##6E6F121.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#76675E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6e6f12;
/* rgb */ color: rgb(110, 111, 18);
/* oklch */ color: oklch(52.4% 0.108 110.3);
Tailwind
colors: {
  custom: {
    50: '#9b985a',
    500: '#6e6f12',
    950: '#000000',
  },
}
SCSS
$custom: #6e6f12;
$custom-light: #9b985a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e6f12",
  "rgb": {
    "r": 110,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 60.645,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.10804,
    "h": 110.3
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#6E6F12
secondary
#3837A6
accent
#39EF3B
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79

Preview Lab

Preview with #6E6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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