#7F6D15#7F6D15

#7F6D15 is a mid, moderate yellow. Relative luminance 0.155; OKLCH L 53.6% C 0.103 H 96.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7F6D15
RGBrgb(127, 109, 21)
HSLhsl(50, 72%, 29%)
HSVhsv(50, 83%, 50%)
CMYKcmyk(0%, 14.2%, 83.5%, 50.2%)
CIE-LABlab(46.32, -2.32, 47.40)
CIE-LCHlch(46.32, 47.46, 92.81°)
OKLaboklab(53.65% -0.0119 0.1024)
OKLCHoklch(53.65% 0.103 96.6)
XYZxyz(14.3572, 15.5042, 2.9457)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6D15 #15277F
analogous
#7F3815 #7F6D15 #5C7F15
triadic
#7F6D15 #157F6D #6D157F
tetradic
#7F6D15 #157F38 #15277F #7F155C
square
#7F6D15 #157F38 #15277F #7F155C
split-complementary
#7F6D15 #155C7F #38157F
monochromatic
#1A1704 #4A400C #7F6D15 #B49A1E #DDC031

Accessibility & contrast

On white

5.12
#7F6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7F6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6D15
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6D15#FFFFFF#000000##FFFFFF
##7F6D151.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7E701C
Tritanopia (blue-blind)
#8A645D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f6d15;
/* rgb */ color: rgb(127, 109, 21);
/* oklch */ color: oklch(53.6% 0.103 96.6);
Tailwind
colors: {
  custom: {
    50: '#a8965c',
    500: '#7f6d15',
    950: '#000000',
  },
}
SCSS
$custom: #7f6d15;
$custom-light: #a8965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6d15",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 49.811,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.10313,
    "h": 96.6
  },
  "luminance": 0.15503
}

Semantic roles & 50–950 ramp

primary
#7F6D15
secondary
#3C50B4
accent
#58EE39
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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