#7D7319#7D7319

#7D7319 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.106 H 102.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D7319
RGBrgb(125, 115, 25)
HSLhsl(54, 67%, 29%)
HSVhsv(54, 80%, 49%)
CMYKcmyk(0%, 8%, 80%, 51%)
CIE-LABlab(47.87, -6.52, 47.37)
CIE-LCHlch(47.87, 47.81, 97.84°)
OKLaboklab(54.84% -0.0233 0.1033)
OKLCHoklch(54.84% 0.106 102.7)
XYZxyz(14.7643, 16.6923, 3.3637)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7319 #19237D
analogous
#7D4119 #7D7319 #557D19
triadic
#7D7319 #197D73 #73197D
tetradic
#7D7319 #197D41 #19237D #7D1955
square
#7D7319 #197D41 #19237D #7D1955
split-complementary
#7D7319 #19557D #41197D
monochromatic
#1A1705 #4A440F #7D7319 #B0A223 #D7C839

Accessibility & contrast

On white

4.84
#7D7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7D7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7319
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7319#FFFFFF#000000##FFFFFF
##7D73191.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#817420
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7319;
/* rgb */ color: rgb(125, 115, 25);
/* oklch */ color: oklch(54.8% 0.106 102.7);
Tailwind
colors: {
  custom: {
    50: '#a69b5e',
    500: '#7d7319',
    950: '#000000',
  },
}
SCSS
$custom: #7d7319;
$custom-light: #a69b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7319",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 54,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54838,
    "c": 0.1059,
    "h": 102.7
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#7D7319
secondary
#404CB1
accent
#4FEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7319

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

Preview Lab → · Contrast checker → · Palette generator →

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