#7F6A15#7F6A15

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

Color values

HEX#7F6A15
RGBrgb(127, 106, 21)
HSLhsl(48, 72%, 29%)
HSVhsv(48, 83%, 50%)
CMYKcmyk(0%, 16.5%, 83.5%, 50.2%)
CIE-LABlab(45.46, -0.60, 46.65)
CIE-LCHlch(45.46, 46.65, 90.74°)
OKLaboklab(52.97% -0.007 0.1008)
OKLCHoklch(52.97% 0.101 94)
XYZxyz(14.0426, 14.8751, 2.8409)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6A15 #152A7F
analogous
#7F3515 #7F6A15 #5F7F15
triadic
#7F6A15 #157F6A #6A157F
tetradic
#7F6A15 #157F35 #152A7F #7F155F
square
#7F6A15 #157F35 #152A7F #7F155F
split-complementary
#7F6A15 #155F7F #35157F
monochromatic
#1A1604 #4A3E0C #7F6A15 #B4961E #DDBB31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F6A15#FFFFFF#000000##FFFFFF
##7F6A151.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)
#7C6E1B
Tritanopia (blue-blind)
#8A615A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7f6a15;
/* rgb */ color: rgb(127, 106, 21);
/* oklch */ color: oklch(53.0% 0.101 94.0);
Tailwind
colors: {
  custom: {
    50: '#a8945b',
    500: '#7f6a15',
    950: '#000000',
  },
}
SCSS
$custom: #7f6a15;
$custom-light: #a8945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6a15",
  "rgb": {
    "r": 127,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 48.113,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5297,
    "c": 0.10105,
    "h": 94
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#7F6A15
secondary
#3C54B4
accent
#5DEE39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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