#7F7619#7F7619

#7F7619 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.108 H 103.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F7619
RGBrgb(127, 118, 25)
HSLhsl(55, 67%, 30%)
HSVhsv(55, 80%, 50%)
CMYKcmyk(0%, 7.1%, 80.3%, 50.2%)
CIE-LABlab(48.93, -7.26, 48.40)
CIE-LCHlch(48.93, 48.94, 98.53°)
OKLaboklab(55.73% -0.0254 0.1054)
OKLCHoklch(55.73% 0.108 103.6)
XYZxyz(15.4070, 17.5397, 3.4935)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7619 #19227F
analogous
#7F4319 #7F7619 #557F19
triadic
#7F7619 #197F76 #76197F
tetradic
#7F7619 #197F43 #19227F #7F1955
square
#7F7619 #197F43 #19227F #7F1955
split-complementary
#7F7619 #19557F #43197F
monochromatic
#1A1805 #4C460F #7F7619 #B2A623 #D8CA3A

Accessibility & contrast

On white

4.66
#7F7619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7F7619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7619
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7619#FFFFFF#000000##FFFFFF
##7F76191.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817202
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f7619;
/* rgb */ color: rgb(127, 118, 25);
/* oklch */ color: oklch(55.7% 0.108 103.6);
Tailwind
colors: {
  custom: {
    50: '#a89d5f',
    500: '#7f7619',
    950: '#000000',
  },
}
SCSS
$custom: #7f7619;
$custom-light: #a89d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7619",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 25
  },
  "hsl": {
    "h": 54.706,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.10846,
    "h": 103.6
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#7F7619
secondary
#414BB3
accent
#4DEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7619

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

Preview Lab → · Contrast checker → · Palette generator →

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