#7F7519#7F7519

#7F7519 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.108 H 102.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7F7519
RGBrgb(127, 117, 25)
HSLhsl(54, 67%, 30%)
HSVhsv(54, 80%, 50%)
CMYKcmyk(0%, 7.9%, 80.3%, 50.2%)
CIE-LABlab(48.64, -6.70, 48.14)
CIE-LCHlch(48.64, 48.60, 97.92°)
OKLaboklab(55.5% -0.0239 0.1049)
OKLCHoklch(55.5% 0.108 102.8)
XYZxyz(15.2899, 17.3055, 3.4544)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7519 #19237F
analogous
#7F4219 #7F7519 #567F19
triadic
#7F7519 #197F75 #75197F
tetradic
#7F7519 #197F42 #19237F #7F1956
square
#7F7519 #197F42 #19237F #7F1956
split-complementary
#7F7519 #19567F #42197F
monochromatic
#1A1805 #4C460F #7F7519 #B2A423 #D8C93A

Accessibility & contrast

On white

4.71
#7F7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7F7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7519
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7519#FFFFFF#000000##FFFFFF
##7F75191.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#837620
Tritanopia (blue-blind)
#896C64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f7519;
/* rgb */ color: rgb(127, 117, 25);
/* oklch */ color: oklch(55.5% 0.108 102.8);
Tailwind
colors: {
  custom: {
    50: '#a89c5e',
    500: '#7f7519',
    950: '#000000',
  },
}
SCSS
$custom: #7f7519;
$custom-light: #a89c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7519",
  "rgb": {
    "r": 127,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 54.118,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55498,
    "c": 0.10755,
    "h": 102.8
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#7F7519
secondary
#414CB3
accent
#4FEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7519

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

Preview Lab → · Contrast checker → · Palette generator →

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