#7D7327#7D7327

#7D7327 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.096 H 101.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D7327
RGBrgb(125, 115, 39)
HSLhsl(53, 52%, 32%)
HSVhsv(53, 69%, 49%)
CMYKcmyk(0%, 8%, 68.8%, 51%)
CIE-LABlab(47.97, -5.79, 41.82)
CIE-LCHlch(47.97, 42.22, 97.88°)
OKLaboklab(54.95% -0.0196 0.0943)
OKLCHoklch(54.95% 0.096 101.8)
XYZxyz(14.9550, 16.7685, 4.3680)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7327 #27317D
analogous
#7D4827 #7D7327 #5C7D27
triadic
#7D7327 #277D73 #73277D
tetradic
#7D7327 #277D48 #27317D #7D275C
square
#7D7327 #277D48 #27317D #7D275C
split-complementary
#7D7327 #275C7D #48277D
monochromatic
#201D0A #4E4818 #7D7327 #AC9E36 #CABC55

Accessibility & contrast

On white

4.82
#7D7327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7D7327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7327
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7327#FFFFFF#000000##FFFFFF
##7D73271.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F1D
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#876B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7327;
/* rgb */ color: rgb(125, 115, 39);
/* oklch */ color: oklch(54.9% 0.096 101.8);
Tailwind
colors: {
  custom: {
    50: '#a59b65',
    500: '#7d7327',
    950: '#000000',
  },
}
SCSS
$custom: #7d7327;
$custom-light: #a59b65;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7327",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 53.023,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.09632,
    "h": 101.8
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#7D7327
secondary
#515CAF
accent
#5DDC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7327

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

Preview Lab → · Contrast checker → · Palette generator →

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