#7D7022#7D7022

#7D7022 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.097 H 99.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7D7022
RGBrgb(125, 112, 34)
HSLhsl(51, 57%, 31%)
HSVhsv(51, 73%, 49%)
CMYKcmyk(0%, 10.4%, 72.8%, 51%)
CIE-LABlab(47.06, -4.39, 43.09)
CIE-LCHlch(47.06, 43.31, 95.82°)
OKLaboklab(54.21% -0.0163 0.0961)
OKLCHoklch(54.21% 0.097 99.6)
XYZxyz(14.5410, 16.0645, 3.8479)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7022 #222F7D
analogous
#7D4222 #7D7022 #5C7D22
triadic
#7D7022 #227D70 #70227D
tetradic
#7D7022 #227D42 #222F7D #7D225C
square
#7D7022 #227D42 #222F7D #7D225C
split-complementary
#7D7022 #225C7D #42227D
monochromatic
#1D1A08 #4D4515 #7D7022 #AD9B2F #CEBB4B

Accessibility & contrast

On white

4.98
#7D7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7D7022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7022
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7022#FFFFFF#000000##FFFFFF
##7D70221.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D16
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#876860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d7022;
/* rgb */ color: rgb(125, 112, 34);
/* oklch */ color: oklch(54.2% 0.097 99.6);
Tailwind
colors: {
  custom: {
    50: '#a69862',
    500: '#7d7022',
    950: '#000000',
  },
}
SCSS
$custom: #7d7022;
$custom-light: #a69862;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7022",
  "rgb": {
    "r": 125,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 51.429,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.09743,
    "h": 99.6
  },
  "luminance": 0.16064
}

Semantic roles & 50–950 ramp

primary
#7D7022
secondary
#4B5AB0
accent
#5DE047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7D7022

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

Preview Lab → · Contrast checker → · Palette generator →

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