#7F6E1A#7F6E1A

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

Color values

HEX#7F6E1A
RGBrgb(127, 110, 26)
HSLhsl(50, 66%, 30%)
HSVhsv(50, 80%, 50%)
CMYKcmyk(0%, 13.4%, 79.5%, 50.2%)
CIE-LABlab(46.63, -2.70, 45.94)
CIE-LCHlch(46.63, 46.02, 93.36°)
OKLaboklab(53.9% -0.0125 0.1004)
OKLCHoklch(53.9% 0.101 97.1)
XYZxyz(14.5155, 15.7392, 3.2505)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6E1A #1A2B7F
analogous
#7F3C1A #7F6E1A #5D7F1A
triadic
#7F6E1A #1A7F6E #6E1A7F
tetradic
#7F6E1A #1A7F3C #1A2B7F #7F1A5D
square
#7F6E1A #1A7F3C #1A2B7F #7F1A5D
split-complementary
#7F6E1A #1A5D7F #3C1A7F
monochromatic
#191605 #4C4210 #7F6E1A #B29A24 #D7BD3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F6E1A#FFFFFF#000000##FFFFFF
##7F6E1A1.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)
#7A6B08
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#8A655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f6e1a;
/* rgb */ color: rgb(127, 110, 26);
/* oklch */ color: oklch(53.9% 0.101 97.1);
Tailwind
colors: {
  custom: {
    50: '#a8975e',
    500: '#7f6e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7f6e1a;
$custom-light: #a8975e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6e1a",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 49.901,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.53903,
    "c": 0.10115,
    "h": 97.1
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#7F6E1A
secondary
#4255B3
accent
#5BE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7F6E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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