#7D7225#7D7225

#7D7225 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.097 H 101.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D7225
RGBrgb(125, 114, 37)
HSLhsl(53, 54%, 32%)
HSVhsv(53, 70%, 49%)
CMYKcmyk(0%, 8.8%, 70.4%, 51%)
CIE-LABlab(47.66, -5.35, 42.40)
CIE-LCHlch(47.66, 42.73, 97.19°)
OKLaboklab(54.7% -0.0186 0.0952)
OKLCHoklch(54.7% 0.097 101.1)
XYZxyz(14.8093, 16.5288, 4.1602)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7225 #25307D
analogous
#7D4625 #7D7225 #5C7D25
triadic
#7D7225 #257D72 #72257D
tetradic
#7D7225 #257D46 #25307D #7D255C
square
#7D7225 #257D46 #25307D #7D255C
split-complementary
#7D7225 #255C7D #46257D
monochromatic
#1F1C09 #4E4717 #7D7225 #AC9D33 #CBBC51

Accessibility & contrast

On white

4.88
#7D7225 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7D7225 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7225
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7225#FFFFFF#000000##FFFFFF
##7D72251.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1A
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7225;
/* rgb */ color: rgb(125, 114, 37);
/* oklch */ color: oklch(54.7% 0.097 101.1);
Tailwind
colors: {
  custom: {
    50: '#a59a64',
    500: '#7d7225',
    950: '#000000',
  },
}
SCSS
$custom: #7d7225;
$custom-light: #a59a64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7225",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 37
  },
  "hsl": {
    "h": 52.5,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54698,
    "c": 0.09697,
    "h": 101.1
  },
  "luminance": 0.16528
}

Semantic roles & 50–950 ramp

primary
#7D7225
secondary
#4F5BAF
accent
#5DDE4A
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7225

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

Preview Lab → · Contrast checker → · Palette generator →

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