#7F6F2D#7F6F2D

#7F6F2D is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.088 H 95.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7F6F2D
RGBrgb(127, 111, 45)
HSLhsl(48, 48%, 34%)
HSVhsv(48, 65%, 50%)
CMYKcmyk(0%, 12.6%, 64.6%, 50.2%)
CIE-LABlab(47.07, -2.18, 38.09)
CIE-LCHlch(47.07, 38.15, 93.27°)
OKLaboklab(54.3% -0.0087 0.0873)
OKLCHoklch(54.3% 0.088 95.7)
XYZxyz(14.9111, 16.0711, 4.7987)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6F2D #2D3D7F
analogous
#7F462D #7F6F2D #667F2D
triadic
#7F6F2D #2D7F6F #6F2D7F
tetradic
#7F6F2D #2D7F46 #2D3D7F #7F2D66
square
#7F6F2D #2D7F46 #2D3D7F #7F2D66
split-complementary
#7F6F2D #2D667F #462D7F
monochromatic
#25200D #52481D #7F6F2D #AC963D #C7B360

Accessibility & contrast

On white

4.98
#7F6F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7F6F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6F2D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6F2D#FFFFFF#000000##FFFFFF
##7F6F2D1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D26
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#896761
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7f6f2d;
/* rgb */ color: rgb(127, 111, 45);
/* oklch */ color: oklch(54.3% 0.088 95.7);
Tailwind
colors: {
  custom: {
    50: '#a79869',
    500: '#7f6f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f6f2d;
$custom-light: #a79869;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6f2d",
  "rgb": {
    "r": 127,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 48.293,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.08775,
    "h": 95.7
  },
  "luminance": 0.1607
}

Semantic roles & 50–950 ramp

primary
#7F6F2D
secondary
#5B6BAD
accent
#6BD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7F6F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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