#6F5F12#6F5F12

#6F5F12 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.7% C 0.093 H 96.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6F5F12
RGBrgb(111, 95, 18)
HSLhsl(50, 72%, 25%)
HSVhsv(50, 84%, 44%)
CMYKcmyk(0%, 14.4%, 83.8%, 56.5%)
CIE-LABlab(40.59, -2.05, 42.71)
CIE-LCHlch(40.59, 42.76, 92.75°)
OKLaboklab(48.72% -0.0105 0.0925)
OKLCHoklch(48.72% 0.093 96.5)
XYZxyz(10.7575, 11.6082, 2.2461)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5F12 #12226F
analogous
#6F3012 #6F5F12 #516F12
triadic
#6F5F12 #126F5F #5F126F
tetradic
#6F5F12 #126F30 #12226F #6F1251
square
#6F5F12 #126F30 #12226F #6F1251
split-complementary
#6F5F12 #12516F #30126F
monochromatic
#1A1704 #3A3209 #6F5F12 #A48C1B #D8B923

Accessibility & contrast

On white

6.32
#6F5F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6F5F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5F12
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5F12#FFFFFF#000000##FFFFFF
##6F5F121.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D01
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#795751
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f5f12;
/* rgb */ color: rgb(111, 95, 18);
/* oklch */ color: oklch(48.7% 0.093 96.5);
Tailwind
colors: {
  custom: {
    50: '#9c8c58',
    500: '#6f5f12',
    950: '#000000',
  },
}
SCSS
$custom: #6f5f12;
$custom-light: #9c8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5f12",
  "rgb": {
    "r": 111,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 49.677,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48715,
    "c": 0.09312,
    "h": 96.5
  },
  "luminance": 0.11608
}

Semantic roles & 50–950 ramp

primary
#6F5F12
secondary
#374AA6
accent
#58EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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