#7D7B22#7D7B22

#7D7B22 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.108 H 108.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7D7B22
RGBrgb(125, 123, 34)
HSLhsl(59, 57%, 31%)
HSVhsv(59, 73%, 49%)
CMYKcmyk(0%, 1.6%, 72.8%, 51%)
CIE-LABlab(50.27, -10.53, 46.26)
CIE-LCHlch(50.27, 47.45, 102.83°)
OKLaboklab(56.76% -0.0336 0.1028)
OKLCHoklch(56.76% 0.108 108.1)
XYZxyz(15.8297, 18.6419, 4.2775)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7B22 #22247D
analogous
#7D4D22 #7D7B22 #517D22
triadic
#7D7B22 #227D7B #7B227D
tetradic
#7D7B22 #227D4D #22247D #7D2251
square
#7D7B22 #227D4D #22247D #7D2251
split-complementary
#7D7B22 #22517D #4D227D
monochromatic
#1D1C08 #4D4C15 #7D7B22 #ADAA2F #CECB4B

Accessibility & contrast

On white

4.44
#7D7B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7D7B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7B22
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7B22#FFFFFF#000000##000000
##7D7B221.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857613
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#86736A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7b22;
/* rgb */ color: rgb(125, 123, 34);
/* oklch */ color: oklch(56.8% 0.108 108.1);
Tailwind
colors: {
  custom: {
    50: '#a6a064',
    500: '#7d7b22',
    950: '#000000',
  },
}
SCSS
$custom: #7d7b22;
$custom-light: #a6a064;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7b22",
  "rgb": {
    "r": 125,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 58.681,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56764,
    "c": 0.10812,
    "h": 108.1
  },
  "luminance": 0.18641
}

Semantic roles & 50–950 ramp

primary
#7D7B22
secondary
#4B4DB0
accent
#4BE047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7B22

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

Preview Lab → · Contrast checker → · Palette generator →

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