#7D7820#7D7820

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

Color values

HEX#7D7820
RGBrgb(125, 120, 32)
HSLhsl(57, 59%, 31%)
HSVhsv(57, 74%, 49%)
CMYKcmyk(0%, 4%, 74.4%, 51%)
CIE-LABlab(49.37, -8.99, 46.18)
CIE-LCHlch(49.37, 47.05, 101.01°)
OKLaboklab(56.05% -0.0295 0.1022)
OKLCHoklch(56.05% 0.106 106.1)
XYZxyz(15.4352, 17.8978, 4.0078)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7820 #20257D
analogous
#7D4920 #7D7820 #537D20
triadic
#7D7820 #207D78 #78207D
tetradic
#7D7820 #207D49 #20257D #7D2053
square
#7D7820 #207D49 #20257D #7D2053
split-complementary
#7D7820 #20537D #49207D
monochromatic
#1C1A07 #4C4914 #7D7820 #AEA72C #D0C947

Accessibility & contrast

On white

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

On black

4.58
#7D7820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D7820#FFFFFF#000000##FFFFFF
##7D78201.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837310
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#877067
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d7820;
/* rgb */ color: rgb(125, 120, 32);
/* oklch */ color: oklch(56.0% 0.106 106.1);
Tailwind
colors: {
  custom: {
    50: '#a69e62',
    500: '#7d7820',
    950: '#000000',
  },
}
SCSS
$custom: #7d7820;
$custom-light: #a69e62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7820",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 56.774,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.10638,
    "h": 106.1
  },
  "luminance": 0.17897
}

Semantic roles & 50–950 ramp

primary
#7D7820
secondary
#494EB0
accent
#4EE245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7820

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

Preview Lab → · Contrast checker → · Palette generator →

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