#6F6012#6F6012

#6F6012 is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.9% C 0.094 H 97.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6F6012
RGBrgb(111, 96, 18)
HSLhsl(50, 72%, 25%)
HSVhsv(50, 84%, 44%)
CMYKcmyk(0%, 13.5%, 83.8%, 56.5%)
CIE-LABlab(40.88, -2.63, 42.97)
CIE-LCHlch(40.88, 43.05, 93.51°)
OKLaboklab(48.95% -0.0122 0.0931)
OKLCHoklch(48.95% 0.094 97.5)
XYZxyz(10.8482, 11.7895, 2.2764)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6012 #12216F
analogous
#6F3212 #6F6012 #4F6F12
triadic
#6F6012 #126F60 #60126F
tetradic
#6F6012 #126F32 #12216F #6F124F
square
#6F6012 #126F32 #12216F #6F124F
split-complementary
#6F6012 #124F6F #32126F
monochromatic
#1A1704 #3A3209 #6F6012 #A48E1B #D8BB23

Accessibility & contrast

On white

6.25
#6F6012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6F6012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6012
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6012#FFFFFF#000000##FFFFFF
##6F60121.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6F6318
Tritanopia (blue-blind)
#795852
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f6012;
/* rgb */ color: rgb(111, 96, 18);
/* oklch */ color: oklch(48.9% 0.094 97.5);
Tailwind
colors: {
  custom: {
    50: '#9c8c58',
    500: '#6f6012',
    950: '#000000',
  },
}
SCSS
$custom: #6f6012;
$custom-light: #9c8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6012",
  "rgb": {
    "r": 111,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 50.323,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48947,
    "c": 0.09388,
    "h": 97.5
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#6F6012
secondary
#3749A6
accent
#56EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F6012

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

Preview Lab → · Contrast checker → · Palette generator →

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