#7F6A16#7F6A16

#7F6A16 is a mid, moderate yellow. Relative luminance 0.149; OKLCH L 53.0% C 0.101 H 93.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7F6A16
RGBrgb(127, 106, 22)
HSLhsl(48, 70%, 29%)
HSVhsv(48, 83%, 50%)
CMYKcmyk(0%, 16.5%, 82.7%, 50.2%)
CIE-LABlab(45.47, -0.56, 46.32)
CIE-LCHlch(45.47, 46.32, 90.70°)
OKLaboklab(52.98% -0.0068 0.1003)
OKLCHoklch(52.98% 0.101 93.9)
XYZxyz(14.0521, 14.8789, 2.8907)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6A16 #162B7F
analogous
#7F3616 #7F6A16 #607F16
triadic
#7F6A16 #167F6A #6A167F
tetradic
#7F6A16 #167F36 #162B7F #7F1660
square
#7F6A16 #167F36 #162B7F #7F1660
split-complementary
#7F6A16 #16607F #36167F
monochromatic
#1A1605 #4B3E0D #7F6A16 #B3961F #DCBA34

Accessibility & contrast

On white

5.28
#7F6A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7F6A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6A16
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6A16#FFFFFF#000000##FFFFFF
##7F6A161.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#7C6E1C
Tritanopia (blue-blind)
#8A615A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f6a16;
/* rgb */ color: rgb(127, 106, 22);
/* oklch */ color: oklch(53.0% 0.101 93.9);
Tailwind
colors: {
  custom: {
    50: '#a8945c',
    500: '#7f6a16',
    950: '#000000',
  },
}
SCSS
$custom: #7f6a16;
$custom-light: #a8945c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6a16",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 48,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52976,
    "c": 0.10054,
    "h": 93.9
  },
  "luminance": 0.14878
}

Semantic roles & 50–950 ramp

primary
#7F6A16
secondary
#3D55B4
accent
#5EED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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