#7F6A14#7F6A14

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

Color values

HEX#7F6A14
RGBrgb(127, 106, 20)
HSLhsl(48, 73%, 29%)
HSVhsv(48, 84%, 50%)
CMYKcmyk(0%, 16.5%, 84.3%, 50.2%)
CIE-LABlab(45.46, -0.63, 46.98)
CIE-LCHlch(45.46, 46.98, 90.77°)
OKLaboklab(52.97% -0.0072 0.1013)
OKLCHoklch(52.97% 0.102 94.1)
XYZxyz(14.0335, 14.8714, 2.7930)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6A14 #14297F
analogous
#7F3514 #7F6A14 #5F7F14
triadic
#7F6A14 #147F6A #6A147F
tetradic
#7F6A14 #147F35 #14297F #7F145F
square
#7F6A14 #147F35 #14297F #7F145F
split-complementary
#7F6A14 #145F7F #35147F
monochromatic
#1A1604 #4A3E0C #7F6A14 #B4961C #DEBC2F

Accessibility & contrast

On white

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

On black

3.97
#7F6A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F6A14#FFFFFF#000000##FFFFFF
##7F6A141.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f6a14;
/* rgb */ color: rgb(127, 106, 20);
/* oklch */ color: oklch(53.0% 0.102 94.1);
Tailwind
colors: {
  custom: {
    50: '#a8945b',
    500: '#7f6a14',
    950: '#000000',
  },
}
SCSS
$custom: #7f6a14;
$custom-light: #a8945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6a14",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 48.224,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52965,
    "c": 0.10155,
    "h": 94.1
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#7F6A14
secondary
#3B52B4
accent
#5CEF38
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6A14

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

Preview Lab → · Contrast checker → · Palette generator →

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