#7F6E15#7F6E15

#7F6E15 is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.9% C 0.104 H 97.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7F6E15
RGBrgb(127, 110, 21)
HSLhsl(50, 72%, 29%)
HSVhsv(50, 83%, 50%)
CMYKcmyk(0%, 13.4%, 83.5%, 50.2%)
CIE-LABlab(46.60, -2.90, 47.65)
CIE-LCHlch(46.60, 47.74, 93.48°)
OKLaboklab(53.87% -0.0135 0.103)
OKLCHoklch(53.87% 0.104 97.5)
XYZxyz(14.4645, 15.7188, 2.9815)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6E15 #15267F
analogous
#7F3915 #7F6E15 #5B7F15
triadic
#7F6E15 #157F6E #6E157F
tetradic
#7F6E15 #157F39 #15267F #7F155B
square
#7F6E15 #157F39 #15267F #7F155B
split-complementary
#7F6E15 #155B7F #39157F
monochromatic
#1A1704 #4A410C #7F6E15 #B49B1E #DDC131

Accessibility & contrast

On white

5.07
#7F6E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7F6E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6E15
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6E15#FFFFFF#000000##FFFFFF
##7F6E151.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7F711C
Tritanopia (blue-blind)
#8A655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7f6e15;
/* rgb */ color: rgb(127, 110, 21);
/* oklch */ color: oklch(53.9% 0.104 97.5);
Tailwind
colors: {
  custom: {
    50: '#a8975c',
    500: '#7f6e15',
    950: '#000000',
  },
}
SCSS
$custom: #7f6e15;
$custom-light: #a8975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6e15",
  "rgb": {
    "r": 127,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 50.377,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53873,
    "c": 0.10387,
    "h": 97.5
  },
  "luminance": 0.15718
}

Semantic roles & 50–950 ramp

primary
#7F6E15
secondary
#3C4FB4
accent
#56EE39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6E15

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

Preview Lab → · Contrast checker → · Palette generator →

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