#7D7232#7D7232

#7D7232 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.086 H 99.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7D7232
RGBrgb(125, 114, 50)
HSLhsl(51, 43%, 34%)
HSVhsv(51, 60%, 49%)
CMYKcmyk(0%, 8.8%, 60%, 51%)
CIE-LABlab(47.78, -4.43, 36.34)
CIE-LCHlch(47.78, 36.61, 96.94°)
OKLaboklab(54.84% -0.0144 0.0843)
OKLCHoklch(54.84% 0.086 99.7)
XYZxyz(15.0510, 16.6255, 5.4332)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7232 #323D7D
analogous
#7D4D32 #7D7232 #637D32
triadic
#7D7232 #327D72 #72327D
tetradic
#7D7232 #327D4D #323D7D #7D3263
square
#7D7232 #327D4D #323D7D #7D3263
split-complementary
#7D7232 #32637D #4D327D
monochromatic
#26220F #514A21 #7D7232 #A99A43 #C2B567

Accessibility & contrast

On white

4.86
#7D7232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7D7232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7232
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7232#FFFFFF#000000##FFFFFF
##7D72321.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2B
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#866A64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7232;
/* rgb */ color: rgb(125, 114, 50);
/* oklch */ color: oklch(54.8% 0.086 99.7);
Tailwind
colors: {
  custom: {
    50: '#a59a6c',
    500: '#7d7232',
    950: '#000000',
  },
}
SCSS
$custom: #7d7232;
$custom-light: #a59a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7232",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 50
  },
  "hsl": {
    "h": 51.2,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54836,
    "c": 0.08555,
    "h": 99.7
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#7D7232
secondary
#616CAA
accent
#68D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7D7232

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

Preview Lab → · Contrast checker → · Palette generator →

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