#7D7819#7D7819

#7D7819 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.111 H 106.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7D7819
RGBrgb(125, 120, 25)
HSLhsl(57, 67%, 29%)
HSVhsv(57, 80%, 49%)
CMYKcmyk(0%, 4%, 80%, 51%)
CIE-LABlab(49.33, -9.31, 48.69)
CIE-LCHlch(49.33, 49.57, 100.82°)
OKLaboklab(56% -0.0311 0.1062)
OKLCHoklch(56% 0.111 106.3)
XYZxyz(15.3500, 17.8637, 3.5590)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7819 #191E7D
analogous
#7D4619 #7D7819 #507D19
triadic
#7D7819 #197D78 #78197D
tetradic
#7D7819 #197D46 #191E7D #7D1950
square
#7D7819 #197D46 #191E7D #7D1950
split-complementary
#7D7819 #19507D #46197D
monochromatic
#1A1805 #4A470F #7D7819 #B0A923 #D7CF39

Accessibility & contrast

On white

4.59
#7D7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7D7819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7819
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7819#FFFFFF#000000##FFFFFF
##7D78191.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837301
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#876F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d7819;
/* rgb */ color: rgb(125, 120, 25);
/* oklch */ color: oklch(56.0% 0.111 106.3);
Tailwind
colors: {
  custom: {
    50: '#a69e5f',
    500: '#7d7819',
    950: '#000000',
  },
}
SCSS
$custom: #7d7819;
$custom-light: #a69e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7819",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 57,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56,
    "c": 0.11061,
    "h": 106.3
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#7D7819
secondary
#4046B1
accent
#47EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D7819

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

Preview Lab → · Contrast checker → · Palette generator →

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