#7D7224#7D7224

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

Color values

HEX#7D7224
RGBrgb(125, 114, 36)
HSLhsl(53, 55%, 32%)
HSVhsv(53, 71%, 49%)
CMYKcmyk(0%, 8.8%, 71.2%, 51%)
CIE-LABlab(47.65, -5.41, 42.83)
CIE-LCHlch(47.65, 43.17, 97.20°)
OKLaboklab(54.69% -0.0189 0.0959)
OKLCHoklch(54.69% 0.098 101.2)
XYZxyz(14.7938, 16.5226, 4.0787)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7224 #242F7D
analogous
#7D4624 #7D7224 #5C7D24
triadic
#7D7224 #247D72 #72247D
tetradic
#7D7224 #247D46 #242F7D #7D245C
square
#7D7224 #247D46 #242F7D #7D245C
split-complementary
#7D7224 #245C7D #46247D
monochromatic
#1E1B09 #4D4716 #7D7224 #AD9D32 #CCBD4F

Accessibility & contrast

On white

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

On black

4.30
#7D7224 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D7224#FFFFFF#000000##FFFFFF
##7D72241.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F19
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7224;
/* rgb */ color: rgb(125, 114, 36);
/* oklch */ color: oklch(54.7% 0.098 101.2);
Tailwind
colors: {
  custom: {
    50: '#a69a64',
    500: '#7d7224',
    950: '#000000',
  },
}
SCSS
$custom: #7d7224;
$custom-light: #a69a64;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7224",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 36
  },
  "hsl": {
    "h": 52.584,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54689,
    "c": 0.09774,
    "h": 101.2
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#7D7224
secondary
#4D5AAF
accent
#5CDF49
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7224

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

Preview Lab → · Contrast checker → · Palette generator →

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