#7D7932#7D7932

#7D7932 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.5% C 0.093 H 106.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D7932
RGBrgb(125, 121, 50)
HSLhsl(57, 43%, 34%)
HSVhsv(57, 60%, 49%)
CMYKcmyk(0%, 3.2%, 60%, 51%)
CIE-LABlab(49.82, -8.36, 38.63)
CIE-LCHlch(49.82, 39.52, 102.21°)
OKLaboklab(56.45% -0.0256 0.0892)
OKLCHoklch(56.45% 0.093 106)
XYZxyz(15.8710, 18.2655, 5.7066)
Luminance0.1827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7932 #32367D
analogous
#7D5432 #7D7932 #5C7D32
triadic
#7D7932 #327D79 #79327D
tetradic
#7D7932 #327D54 #32367D #7D325C
square
#7D7932 #327D54 #32367D #7D325C
split-complementary
#7D7932 #325C7D #54327D
monochromatic
#26240F #514F21 #7D7932 #A9A343 #C2BD67

Accessibility & contrast

On white

4.51
#7D7932 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7D7932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7932
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7932#FFFFFF#000000##000000
##7D79321.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83752A
Deuteranopia (green-blind)
#847836
Tritanopia (blue-blind)
#86716A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7932;
/* rgb */ color: rgb(125, 121, 50);
/* oklch */ color: oklch(56.5% 0.093 106.0);
Tailwind
colors: {
  custom: {
    50: '#a59f6d',
    500: '#7d7932',
    950: '#000000',
  },
}
SCSS
$custom: #7d7932;
$custom-light: #a59f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7932",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 50
  },
  "hsl": {
    "h": 56.8,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.09283,
    "h": 106
  },
  "luminance": 0.18265
}

Semantic roles & 50–950 ramp

primary
#7D7932
secondary
#6165AA
accent
#5CD355
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7D7932

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

Preview Lab → · Contrast checker → · Palette generator →

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