#6F6712#6F6712

#6F6712 is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.6% C 0.100 H 103.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#6F6712
RGBrgb(111, 103, 18)
HSLhsl(55, 72%, 25%)
HSVhsv(55, 84%, 44%)
CMYKcmyk(0%, 7.2%, 83.8%, 56.5%)
CIE-LABlab(42.95, -6.68, 44.80)
CIE-LCHlch(42.95, 45.30, 98.48°)
OKLaboklab(50.59% -0.0236 0.097)
OKLCHoklch(50.59% 0.1 103.7)
XYZxyz(11.5155, 13.1242, 2.4988)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6712 #121A6F
analogous
#6F3912 #6F6712 #486F12
triadic
#6F6712 #126F67 #67126F
tetradic
#6F6712 #126F39 #121A6F #6F1248
square
#6F6712 #126F39 #121A6F #6F1248
split-complementary
#6F6712 #12486F #39126F
monochromatic
#1A1804 #3A3609 #6F6712 #A4981B #D8C923

Accessibility & contrast

On white

5.79
#6F6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6F6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6712
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6712#FFFFFF#000000##FFFFFF
##6F67121.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#746719
Tritanopia (blue-blind)
#785F57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f6712;
/* rgb */ color: rgb(111, 103, 18);
/* oklch */ color: oklch(50.6% 0.100 103.7);
Tailwind
colors: {
  custom: {
    50: '#9c9259',
    500: '#6f6712',
    950: '#000000',
  },
}
SCSS
$custom: #6f6712;
$custom-light: #9c9259;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6712",
  "rgb": {
    "r": 111,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 54.839,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.09985,
    "h": 103.7
  },
  "luminance": 0.13124
}

Semantic roles & 50–950 ramp

primary
#6F6712
secondary
#3740A6
accent
#49EF39
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F6712

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

Preview Lab → · Contrast checker → · Palette generator →

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