#7D7920#7D7920

#7D7920 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.107 H 106.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D7920
RGBrgb(125, 121, 32)
HSLhsl(57, 59%, 31%)
HSVhsv(57, 74%, 49%)
CMYKcmyk(0%, 3.2%, 74.4%, 51%)
CIE-LABlab(49.66, -9.54, 46.46)
CIE-LCHlch(49.66, 47.43, 101.60°)
OKLaboklab(56.28% -0.031 0.1028)
OKLCHoklch(56.28% 0.107 106.8)
XYZxyz(15.5561, 18.1395, 4.0481)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7920 #20247D
analogous
#7D4A20 #7D7920 #527D20
triadic
#7D7920 #207D79 #79207D
tetradic
#7D7920 #207D4A #20247D #7D2052
square
#7D7920 #207D4A #20247D #7D2052
split-complementary
#7D7920 #20527D #4A207D
monochromatic
#1C1B07 #4C4A14 #7D7920 #AEA82C #D0CA47

Accessibility & contrast

On white

4.54
#7D7920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7D7920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7920
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7920#FFFFFF#000000##000000
##7D79201.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847410
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7920;
/* rgb */ color: rgb(125, 121, 32);
/* oklch */ color: oklch(56.3% 0.107 106.8);
Tailwind
colors: {
  custom: {
    50: '#a69f62',
    500: '#7d7920',
    950: '#000000',
  },
}
SCSS
$custom: #7d7920;
$custom-light: #a69f62;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7920",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 57.419,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5628,
    "c": 0.10739,
    "h": 106.8
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

primary
#7D7920
secondary
#494DB0
accent
#4CE245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7920

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

Preview Lab → · Contrast checker → · Palette generator →

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