#7F7319#7F7319

#7F7319 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.106 H 101.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7F7319
RGBrgb(127, 115, 25)
HSLhsl(53, 67%, 30%)
HSVhsv(53, 80%, 50%)
CMYKcmyk(0%, 9.4%, 80.3%, 50.2%)
CIE-LABlab(48.06, -5.58, 47.61)
CIE-LCHlch(48.06, 47.94, 96.68°)
OKLaboklab(55.04% -0.0207 0.1038)
OKLCHoklch(55.04% 0.106 101.3)
XYZxyz(15.0593, 16.8444, 3.3776)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7319 #19257F
analogous
#7F4019 #7F7319 #587F19
triadic
#7F7319 #197F73 #73197F
tetradic
#7F7319 #197F40 #19257F #7F1958
square
#7F7319 #197F40 #19257F #7F1958
split-complementary
#7F7319 #19587F #40197F
monochromatic
#1A1705 #4C450F #7F7319 #B2A123 #D8C63A

Accessibility & contrast

On white

4.81
#7F7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7F7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7319
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7319#FFFFFF#000000##FFFFFF
##7F73191.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F04
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#896A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7f7319;
/* rgb */ color: rgb(127, 115, 25);
/* oklch */ color: oklch(55.0% 0.106 101.3);
Tailwind
colors: {
  custom: {
    50: '#a89a5e',
    500: '#7f7319',
    950: '#000000',
  },
}
SCSS
$custom: #7f7319;
$custom-light: #a89a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7319",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 52.941,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55038,
    "c": 0.1058,
    "h": 101.3
  },
  "luminance": 0.16844
}

Semantic roles & 50–950 ramp

primary
#7F7319
secondary
#414EB3
accent
#52EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7319

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

Preview Lab → · Contrast checker → · Palette generator →

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