#7F7115#7F7115

#7F7115 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.106 H 99.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7F7115
RGBrgb(127, 113, 21)
HSLhsl(52, 72%, 29%)
HSVhsv(52, 83%, 50%)
CMYKcmyk(0%, 11%, 83.5%, 50.2%)
CIE-LABlab(47.47, -4.60, 48.41)
CIE-LCHlch(47.47, 48.63, 95.43°)
OKLaboklab(54.56% -0.0183 0.1046)
OKLCHoklch(54.56% 0.106 99.9)
XYZxyz(14.7936, 16.3772, 3.0912)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7115 #15237F
analogous
#7F3C15 #7F7115 #587F15
triadic
#7F7115 #157F71 #71157F
tetradic
#7F7115 #157F3C #15237F #7F1558
square
#7F7115 #157F3C #15237F #7F1558
split-complementary
#7F7115 #15587F #3C157F
monochromatic
#1A1704 #4A420C #7F7115 #B4A01E #DDC631

Accessibility & contrast

On white

4.91
#7F7115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7F7115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7115
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7115#FFFFFF#000000##FFFFFF
##7F71151.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#81731C
Tritanopia (blue-blind)
#8A6860
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f7115;
/* rgb */ color: rgb(127, 113, 21);
/* oklch */ color: oklch(54.6% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#a8995c',
    500: '#7f7115',
    950: '#000000',
  },
}
SCSS
$custom: #7f7115;
$custom-light: #a8995c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7115",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 52.075,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.10621,
    "h": 99.9
  },
  "luminance": 0.16376
}

Semantic roles & 50–950 ramp

primary
#7F7115
secondary
#3C4CB4
accent
#51EE39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F7115

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

Preview Lab → · Contrast checker → · Palette generator →

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