#7D7222#7D7222

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

Color values

HEX#7D7222
RGBrgb(125, 114, 34)
HSLhsl(53, 57%, 31%)
HSVhsv(53, 73%, 49%)
CMYKcmyk(0%, 8.8%, 72.8%, 51%)
CIE-LABlab(47.64, -5.52, 43.67)
CIE-LCHlch(47.64, 44.02, 97.21°)
OKLaboklab(54.67% -0.0195 0.0973)
OKLCHoklch(54.67% 0.099 101.3)
XYZxyz(14.7641, 16.5107, 3.9223)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7222 #222D7D
analogous
#7D4422 #7D7222 #5A7D22
triadic
#7D7222 #227D72 #72227D
tetradic
#7D7222 #227D44 #222D7D #7D225A
square
#7D7222 #227D44 #222D7D #7D225A
split-complementary
#7D7222 #225A7D #44227D
monochromatic
#1D1A08 #4D4615 #7D7222 #AD9E2F #CEBE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7222#FFFFFF#000000##FFFFFF
##7D72221.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)
#7D6E16
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7222;
/* rgb */ color: rgb(125, 114, 34);
/* oklch */ color: oklch(54.7% 0.099 101.3);
Tailwind
colors: {
  custom: {
    50: '#a69a63',
    500: '#7d7222',
    950: '#000000',
  },
}
SCSS
$custom: #7d7222;
$custom-light: #a69a63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7222",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 52.747,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.09921,
    "h": 101.3
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#7D7222
secondary
#4B57B0
accent
#5AE047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7222

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

Preview Lab → · Contrast checker → · Palette generator →

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