#6B5E17#6B5E17

#6B5E17 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 48.1% C 0.089 H 98.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6B5E17
RGBrgb(107, 94, 23)
HSLhsl(51, 65%, 25%)
HSVhsv(51, 79%, 42%)
CMYKcmyk(0%, 12.1%, 78.5%, 58%)
CIE-LABlab(39.90, -3.20, 40.06)
CIE-LCHlch(39.90, 40.19, 94.56°)
OKLaboklab(48.09% -0.013 0.0882)
OKLCHoklch(48.09% 0.089 98.4)
XYZxyz(10.2213, 11.1936, 2.4326)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5E17 #17246B
analogous
#6B3417 #6B5E17 #4E6B17
triadic
#6B5E17 #176B5E #5E176B
tetradic
#6B5E17 #176B34 #17246B #6B174E
square
#6B5E17 #176B34 #17246B #6B174E
split-complementary
#6B5E17 #174E6B #34176B
monochromatic
#191605 #39320C #6B5E17 #9D8A22 #D0B72D

Accessibility & contrast

On white

6.48
#6B5E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6B5E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5E17
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5E17#FFFFFF#000000##FFFFFF
##6B5E171.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B0A
Deuteranopia (green-blind)
#6B601C
Tritanopia (blue-blind)
#745650
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b5e17;
/* rgb */ color: rgb(107, 94, 23);
/* oklch */ color: oklch(48.1% 0.089 98.4);
Tailwind
colors: {
  custom: {
    50: '#988b5a',
    500: '#6b5e17',
    950: '#000000',
  },
}
SCSS
$custom: #6b5e17;
$custom-light: #988b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5e17",
  "rgb": {
    "r": 107,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 50.714,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.08911,
    "h": 98.4
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#6B5E17
secondary
#3D4CA1
accent
#5AE840
background
#F9F8F5
surface
#F2F0E9
border
#CCCBC5
text
#0E0B04
muted
#7E7C79

Preview Lab

Preview with #6B5E17

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

Preview Lab → · Contrast checker → · Palette generator →

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