#7D7422#7D7422

#7D7422 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.101 H 103.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D7422
RGBrgb(125, 116, 34)
HSLhsl(54, 57%, 31%)
HSVhsv(54, 73%, 49%)
CMYKcmyk(0%, 7.2%, 72.8%, 51%)
CIE-LABlab(48.22, -6.65, 44.24)
CIE-LCHlch(48.22, 44.74, 98.55°)
OKLaboklab(55.13% -0.0227 0.0985)
OKLCHoklch(55.13% 0.101 103)
XYZxyz(14.9922, 16.9669, 3.9983)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7422 #222B7D
analogous
#7D4622 #7D7422 #587D22
triadic
#7D7422 #227D74 #74227D
tetradic
#7D7422 #227D46 #222B7D #7D2258
square
#7D7422 #227D46 #222B7D #7D2258
split-complementary
#7D7422 #22587D #46227D
monochromatic
#1D1B08 #4D4715 #7D7422 #ADA12F #CEC14B

Accessibility & contrast

On white

4.78
#7D7422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7D7422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7422
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7422#FFFFFF#000000##FFFFFF
##7D74221.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7015
Deuteranopia (green-blind)
#827427
Tritanopia (blue-blind)
#876C64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7422;
/* rgb */ color: rgb(125, 116, 34);
/* oklch */ color: oklch(55.1% 0.101 103.0);
Tailwind
colors: {
  custom: {
    50: '#a69b63',
    500: '#7d7422',
    950: '#000000',
  },
}
SCSS
$custom: #7d7422;
$custom-light: #a69b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7422",
  "rgb": {
    "r": 125,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 54.066,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55133,
    "c": 0.10108,
    "h": 103
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#7D7422
secondary
#4B55B0
accent
#56E047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7422

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

Preview Lab → · Contrast checker → · Palette generator →

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