#6B5F16#6B5F16

#6B5F16 is a mid, moderate yellow. Relative luminance 0.114; OKLCH L 48.3% C 0.091 H 99.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#6B5F16
RGBrgb(107, 95, 22)
HSLhsl(52, 66%, 25%)
HSVhsv(52, 79%, 42%)
CMYKcmyk(0%, 11.2%, 79.4%, 58%)
CIE-LABlab(40.19, -3.83, 40.73)
CIE-LCHlch(40.19, 40.91, 95.37°)
OKLaboklab(48.31% -0.0149 0.0894)
OKLCHoklch(48.31% 0.091 99.5)
XYZxyz(10.3009, 11.3686, 2.4107)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5F16 #16226B
analogous
#6B3416 #6B5F16 #4D6B16
triadic
#6B5F16 #166B5F #5F166B
tetradic
#6B5F16 #166B34 #16226B #6B164D
square
#6B5F16 #166B34 #16226B #6B164D
split-complementary
#6B5F16 #164D6B #34166B
monochromatic
#191705 #38320C #6B5F16 #9E8C20 #D1B92B

Accessibility & contrast

On white

6.41
#6B5F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6B5F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5F16
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5F16#FFFFFF#000000##FFFFFF
##6B5F161.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C08
Deuteranopia (green-blind)
#6C611B
Tritanopia (blue-blind)
#745751
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b5f16;
/* rgb */ color: rgb(107, 95, 22);
/* oklch */ color: oklch(48.3% 0.091 99.5);
Tailwind
colors: {
  custom: {
    50: '#988c5a',
    500: '#6b5f16',
    950: '#000000',
  },
}
SCSS
$custom: #6b5f16;
$custom-light: #988c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5f16",
  "rgb": {
    "r": 107,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 51.529,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48314,
    "c": 0.0906,
    "h": 99.5
  },
  "luminance": 0.11368
}

Semantic roles & 50–950 ramp

primary
#6B5F16
secondary
#3B4AA1
accent
#57E93F
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0C04
muted
#7E7D79

Preview Lab

Preview with #6B5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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