#7D7229#7D7229

#7D7229 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.094 H 100.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D7229
RGBrgb(125, 114, 41)
HSLhsl(52, 51%, 33%)
HSVhsv(52, 67%, 49%)
CMYKcmyk(0%, 8.8%, 67.2%, 51%)
CIE-LABlab(47.69, -5.09, 40.62)
CIE-LCHlch(47.69, 40.94, 97.15°)
OKLaboklab(54.74% -0.0174 0.0921)
OKLCHoklch(54.74% 0.094 100.7)
XYZxyz(14.8756, 16.5553, 4.5093)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7229 #29347D
analogous
#7D4829 #7D7229 #5E7D29
triadic
#7D7229 #297D72 #72297D
tetradic
#7D7229 #297D48 #29347D #7D295E
square
#7D7229 #297D48 #29347D #7D295E
split-complementary
#7D7229 #295E7D #48297D
monochromatic
#211E0B #4F481A #7D7229 #AB9C38 #C8BA58

Accessibility & contrast

On white

4.87
#7D7229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D7229
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7229#FFFFFF#000000##FFFFFF
##7D72291.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F20
Deuteranopia (green-blind)
#80732D
Tritanopia (blue-blind)
#876A63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7229;
/* rgb */ color: rgb(125, 114, 41);
/* oklch */ color: oklch(54.7% 0.094 100.7);
Tailwind
colors: {
  custom: {
    50: '#a59a67',
    500: '#7d7229',
    950: '#000000',
  },
}
SCSS
$custom: #7d7229;
$custom-light: #a59a67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7229",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 52.143,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54736,
    "c": 0.09374,
    "h": 100.7
  },
  "luminance": 0.16555
}

Semantic roles & 50–950 ramp

primary
#7D7229
secondary
#5460AE
accent
#60DA4E
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7229

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

Preview Lab → · Contrast checker → · Palette generator →

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