#7D7D22#7D7D22

#7D7D22 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.110 H 109.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7D7D22
RGBrgb(125, 125, 34)
HSLhsl(60, 57%, 31%)
HSVhsv(60, 73%, 49%)
CMYKcmyk(0%, 0%, 72.8%, 51%)
CIE-LABlab(50.85, -11.63, 46.84)
CIE-LCHlch(50.85, 48.26, 103.94°)
OKLaboklab(57.23% -0.0367 0.104)
OKLCHoklch(57.23% 0.11 109.4)
XYZxyz(16.0804, 19.1432, 4.3610)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D22 #22227D
analogous
#7D4F22 #7D7D22 #4F7D22
triadic
#7D7D22 #227D7D #7D227D
tetradic
#7D7D22 #227D4F #22227D #7D224F
square
#7D7D22 #227D4F #22227D #7D224F
split-complementary
#7D7D22 #224F7D #4F227D
monochromatic
#1D1D08 #4D4D15 #7D7D22 #ADAD2F #CECE4B

Accessibility & contrast

On white

4.35
#7D7D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7D7D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D22
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D22#FFFFFF#000000##000000
##7D7D221.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877812
Deuteranopia (green-blind)
#897A29
Tritanopia (blue-blind)
#86756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d22;
/* rgb */ color: rgb(125, 125, 34);
/* oklch */ color: oklch(57.2% 0.110 109.4);
Tailwind
colors: {
  custom: {
    50: '#a6a264',
    500: '#7d7d22',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d22;
$custom-light: #a6a264;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d22",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57234,
    "c": 0.11026,
    "h": 109.4
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#7D7D22
secondary
#4B4BB0
accent
#47E047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7D7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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