#6F7212#6F7212

#6F7212 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.2% C 0.111 H 111.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6F7212
RGBrgb(111, 114, 18)
HSLhsl(62, 73%, 26%)
HSVhsv(62, 84%, 45%)
CMYKcmyk(2.6%, 0%, 84.2%, 55.3%)
CIE-LABlab(46.26, -12.84, 47.69)
CIE-LCHlch(46.26, 49.39, 105.07°)
OKLaboklab(53.23% -0.0407 0.1033)
OKLCHoklch(53.23% 0.111 111.5)
XYZxyz(12.6825, 15.4581, 2.8878)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7212 #151272
analogous
#724512 #6F7212 #3F7212
triadic
#6F7212 #126F72 #72126F
tetradic
#6F7212 #127245 #151272 #72123F
square
#6F7212 #127245 #151272 #72123F
split-complementary
#6F7212 #123F72 #451272
monochromatic
#1A1A04 #3C3D0A #6F7212 #A2A71A #D6DC23

Accessibility & contrast

On white

5.13
#6F7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6F7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7212
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7212#FFFFFF#000000##FFFFFF
##6F72121.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6C00
Deuteranopia (green-blind)
#7C6F1B
Tritanopia (blue-blind)
#776A61
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7212;
/* rgb */ color: rgb(111, 114, 18);
/* oklch */ color: oklch(53.2% 0.111 111.5);
Tailwind
colors: {
  custom: {
    50: '#9c9a5b',
    500: '#6f7212',
    950: '#000000',
  },
}
SCSS
$custom: #6f7212;
$custom-light: #9c9a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7212",
  "rgb": {
    "r": 111,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 61.875,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.53229,
    "c": 0.111,
    "h": 111.5
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#6F7212
secondary
#3A37A9
accent
#38EF3E
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7212

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

Preview Lab → · Contrast checker → · Palette generator →

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