#7F6C19#7F6C19

#7F6C19 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.100 H 95.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7F6C19
RGBrgb(127, 108, 25)
HSLhsl(49, 67%, 30%)
HSVhsv(49, 80%, 50%)
CMYKcmyk(0%, 15%, 80.3%, 50.2%)
CIE-LABlab(46.05, -1.59, 45.78)
CIE-LCHlch(46.05, 45.81, 92.00°)
OKLaboklab(53.44% -0.0095 0.0998)
OKLCHoklch(53.44% 0.1 95.4)
XYZxyz(14.2912, 15.3081, 3.1215)
Luminance0.1531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6C19 #192C7F
analogous
#7F3919 #7F6C19 #5F7F19
triadic
#7F6C19 #197F6C #6C197F
tetradic
#7F6C19 #197F39 #192C7F #7F195F
square
#7F6C19 #197F39 #192C7F #7F195F
split-complementary
#7F6C19 #195F7F #39197F
monochromatic
#1A1605 #4C410F #7F6C19 #B29723 #D8BB3A

Accessibility & contrast

On white

5.17
#7F6C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7F6C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6C19
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6C19#FFFFFF#000000##FFFFFF
##7F6C191.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A07
Deuteranopia (green-blind)
#7D701F
Tritanopia (blue-blind)
#8A635C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7f6c19;
/* rgb */ color: rgb(127, 108, 25);
/* oklch */ color: oklch(53.4% 0.100 95.4);
Tailwind
colors: {
  custom: {
    50: '#a8955d',
    500: '#7f6c19',
    950: '#000000',
  },
}
SCSS
$custom: #7f6c19;
$custom-light: #a8955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6c19",
  "rgb": {
    "r": 127,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 48.824,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53444,
    "c": 0.10027,
    "h": 95.4
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

primary
#7F6C19
secondary
#4156B3
accent
#5EEA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F6C19

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

Preview Lab → · Contrast checker → · Palette generator →

#7F6C19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva