#6F7312#6F7312

#6F7312 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.5% C 0.112 H 112.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6F7312
RGBrgb(111, 115, 18)
HSLhsl(62, 73%, 26%)
HSVhsv(62, 84%, 45%)
CMYKcmyk(3.5%, 0%, 84.3%, 54.9%)
CIE-LABlab(46.56, -13.39, 47.96)
CIE-LCHlch(46.56, 49.79, 105.60°)
OKLaboklab(53.47% -0.0423 0.1038)
OKLCHoklch(53.47% 0.112 112.1)
XYZxyz(12.7959, 15.6850, 2.9256)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7312 #161273
analogous
#734612 #6F7312 #3E7312
triadic
#6F7312 #126F73 #73126F
tetradic
#6F7312 #127346 #161273 #73123E
square
#6F7312 #127346 #161273 #73123E
split-complementary
#6F7312 #123E73 #461273
monochromatic
#1A1A04 #3C3E0A #6F7312 #A2A81A #D5DD23

Accessibility & contrast

On white

5.08
#6F7312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6F7312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7312
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7312#FFFFFF#000000##FFFFFF
##6F73121.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#7D6F1C
Tritanopia (blue-blind)
#776B62
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6f7312;
/* rgb */ color: rgb(111, 115, 18);
/* oklch */ color: oklch(53.5% 0.112 112.1);
Tailwind
colors: {
  custom: {
    50: '#9c9b5b',
    500: '#6f7312',
    950: '#000000',
  },
}
SCSS
$custom: #6f7312;
$custom-light: #9c9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7312",
  "rgb": {
    "r": 111,
    "g": 115,
    "b": 18
  },
  "hsl": {
    "h": 62.474,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.11209,
    "h": 112.1
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#6F7312
secondary
#3C37AA
accent
#38F040
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7312

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

Preview Lab → · Contrast checker → · Palette generator →

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