#7F6B14#7F6B14

#7F6B14 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.2% C 0.102 H 95.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7F6B14
RGBrgb(127, 107, 20)
HSLhsl(49, 73%, 29%)
HSVhsv(49, 84%, 50%)
CMYKcmyk(0%, 15.7%, 84.3%, 50.2%)
CIE-LABlab(45.74, -1.21, 47.23)
CIE-LCHlch(45.74, 47.24, 91.47°)
OKLaboklab(53.19% -0.0089 0.1018)
OKLCHoklch(53.19% 0.102 95)
XYZxyz(14.1372, 15.0787, 2.8275)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6B14 #14287F
analogous
#7F3614 #7F6B14 #5E7F14
triadic
#7F6B14 #147F6B #6B147F
tetradic
#7F6B14 #147F36 #14287F #7F145E
square
#7F6B14 #147F36 #14287F #7F145E
split-complementary
#7F6B14 #145E7F #36147F
monochromatic
#1A1604 #4A3E0C #7F6B14 #B4981C #DEBE2F

Accessibility & contrast

On white

5.23
#7F6B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7F6B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6B14
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6B14#FFFFFF#000000##FFFFFF
##7F6B141.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#7C6F1A
Tritanopia (blue-blind)
#8A625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f6b14;
/* rgb */ color: rgb(127, 107, 20);
/* oklch */ color: oklch(53.2% 0.102 95.0);
Tailwind
colors: {
  custom: {
    50: '#a8955b',
    500: '#7f6b14',
    950: '#000000',
  },
}
SCSS
$custom: #7f6b14;
$custom-light: #a8955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6b14",
  "rgb": {
    "r": 127,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 48.785,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.10221,
    "h": 95
  },
  "luminance": 0.15078
}

Semantic roles & 50–950 ramp

primary
#7F6B14
secondary
#3B51B4
accent
#5BEF38
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6B14

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

Preview Lab → · Contrast checker → · Palette generator →

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