#6F6213#6F6213

#6F6213 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.4% C 0.095 H 99.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6F6213
RGBrgb(111, 98, 19)
HSLhsl(52, 71%, 25%)
HSVhsv(52, 83%, 44%)
CMYKcmyk(0%, 11.7%, 82.9%, 56.5%)
CIE-LABlab(41.47, -3.76, 43.16)
CIE-LCHlch(41.47, 43.32, 94.98°)
OKLaboklab(49.42% -0.0153 0.0937)
OKLCHoklch(49.42% 0.095 99.3)
XYZxyz(11.0413, 12.1624, 2.3820)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F6213 #13206F
analogous
#6F3413 #6F6213 #4E6F13
triadic
#6F6213 #136F62 #62136F
tetradic
#6F6213 #136F34 #13206F #6F134E
square
#6F6213 #136F34 #13206F #6F134E
split-complementary
#6F6213 #134E6F #34136F
monochromatic
#1A1704 #3B340A #6F6213 #A3901C #D8BE25

Accessibility & contrast

On white

6.12
#6F6213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6F6213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F6213
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F6213#FFFFFF#000000##FFFFFF
##6F62131.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F01
Deuteranopia (green-blind)
#706419
Tritanopia (blue-blind)
#785A53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f6213;
/* rgb */ color: rgb(111, 98, 19);
/* oklch */ color: oklch(49.4% 0.095 99.3);
Tailwind
colors: {
  custom: {
    50: '#9c8e59',
    500: '#6f6213',
    950: '#000000',
  },
}
SCSS
$custom: #6f6213;
$custom-light: #9c8e59;
$custom-dark: #000000;
JSON
{
  "hex": "#6f6213",
  "rgb": {
    "r": 111,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 51.522,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.09493,
    "h": 99.3
  },
  "luminance": 0.12162
}

Semantic roles & 50–950 ramp

primary
#6F6213
secondary
#3847A6
accent
#54EE3A
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0F0C04
muted
#7E7D79

Preview Lab

Preview with #6F6213

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

Preview Lab → · Contrast checker → · Palette generator →

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