#7F6E1E#7F6E1E

#7F6E1E is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.099 H 96.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7F6E1E
RGBrgb(127, 110, 30)
HSLhsl(49, 62%, 31%)
HSVhsv(49, 76%, 50%)
CMYKcmyk(0%, 13.4%, 76.4%, 50.2%)
CIE-LABlab(46.66, -2.51, 44.42)
CIE-LCHlch(46.66, 44.49, 93.24°)
OKLaboklab(53.93% -0.0115 0.098)
OKLCHoklch(53.93% 0.099 96.7)
XYZxyz(14.5634, 15.7584, 3.5026)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6E1E #1E2F7F
analogous
#7F3E1E #7F6E1E #5F7F1E
triadic
#7F6E1E #1E7F6E #6E1E7F
tetradic
#7F6E1E #1E7F3E #1E2F7F #7F1E5F
square
#7F6E1E #1E7F3E #1E2F7F #7F1E5F
split-complementary
#7F6E1E #1E5F7F #3E1E7F
monochromatic
#1C1807 #4D4312 #7F6E1E #B1992A #D3BA44

Accessibility & contrast

On white

5.06
#7F6E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7F6E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6E1E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6E1E#FFFFFF#000000##FFFFFF
##7F6E1E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B10
Deuteranopia (green-blind)
#7E7123
Tritanopia (blue-blind)
#8A655E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f6e1e;
/* rgb */ color: rgb(127, 110, 30);
/* oklch */ color: oklch(53.9% 0.099 96.7);
Tailwind
colors: {
  custom: {
    50: '#a79760',
    500: '#7f6e1e',
    950: '#000000',
  },
}
SCSS
$custom: #7f6e1e;
$custom-light: #a79760;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6e1e",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 30
  },
  "hsl": {
    "h": 49.485,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53931,
    "c": 0.09867,
    "h": 96.7
  },
  "luminance": 0.15758
}

Semantic roles & 50–950 ramp

primary
#7F6E1E
secondary
#4759B2
accent
#5FE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F6E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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