#6F7612#6F7612

#6F7612 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.2% C 0.115 H 113.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#6F7612
RGBrgb(111, 118, 18)
HSLhsl(64, 74%, 27%)
HSVhsv(64, 85%, 46%)
CMYKcmyk(5.9%, 0%, 84.7%, 53.7%)
CIE-LABlab(47.47, -15.02, 48.75)
CIE-LCHlch(47.47, 51.01, 107.12°)
OKLaboklab(54.2% -0.0467 0.1055)
OKLCHoklch(54.2% 0.115 113.9)
XYZxyz(13.1436, 16.3803, 3.0415)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F7612 #191276
analogous
#764B12 #6F7612 #3D7612
triadic
#6F7612 #126F76 #76126F
tetradic
#6F7612 #12764B #191276 #76123D
square
#6F7612 #12764B #191276 #76123D
split-complementary
#6F7612 #123D76 #4B1276
monochromatic
#191B04 #3D410A #6F7612 #A1AB1A #D1DE25

Accessibility & contrast

On white

4.91
#6F7612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#6F7612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F7612
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F7612#FFFFFF#000000##FFFFFF
##6F76121.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f7612;
/* rgb */ color: rgb(111, 118, 18);
/* oklch */ color: oklch(54.2% 0.115 113.9);
Tailwind
colors: {
  custom: {
    50: '#9c9d5b',
    500: '#6f7612',
    950: '#000000',
  },
}
SCSS
$custom: #6f7612;
$custom-light: #9c9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#6f7612",
  "rgb": {
    "r": 111,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 64.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.11541,
    "h": 113.9
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#6F7612
secondary
#3F37AD
accent
#38F045
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0F0E04
muted
#7E7E79

Preview Lab

Preview with #6F7612

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

Preview Lab → · Contrast checker → · Palette generator →

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