#7F6F19#7F6F19

#7F6F19 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.103 H 98.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7F6F19
RGBrgb(127, 111, 25)
HSLhsl(51, 67%, 30%)
HSVhsv(51, 80%, 50%)
CMYKcmyk(0%, 12.6%, 80.3%, 50.2%)
CIE-LABlab(46.91, -3.31, 46.56)
CIE-LCHlch(46.91, 46.68, 94.07°)
OKLaboklab(54.12% -0.0143 0.1015)
OKLCHoklch(54.12% 0.103 98)
XYZxyz(14.6131, 15.9519, 3.2288)
Luminance0.1595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6F19 #19297F
analogous
#7F3C19 #7F6F19 #5C7F19
triadic
#7F6F19 #197F6F #6F197F
tetradic
#7F6F19 #197F3C #19297F #7F195C
square
#7F6F19 #197F3C #19297F #7F195C
split-complementary
#7F6F19 #195C7F #3C197F
monochromatic
#1A1605 #4C420F #7F6F19 #B29C23 #D8BF3A

Accessibility & contrast

On white

5.01
#7F6F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7F6F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6F19
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6F19#FFFFFF#000000##FFFFFF
##7F6F191.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#7F721F
Tritanopia (blue-blind)
#8A665F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f6f19;
/* rgb */ color: rgb(127, 111, 25);
/* oklch */ color: oklch(54.1% 0.103 98.0);
Tailwind
colors: {
  custom: {
    50: '#a8985e',
    500: '#7f6f19',
    950: '#000000',
  },
}
SCSS
$custom: #7f6f19;
$custom-light: #a8985e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6f19",
  "rgb": {
    "r": 127,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 50.588,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.10251,
    "h": 98
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#7F6F19
secondary
#4153B3
accent
#59EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F6F19

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

Preview Lab → · Contrast checker → · Palette generator →

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