#7D7C22#7D7C22

#7D7C22 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.109 H 108.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7D7C22
RGBrgb(125, 124, 34)
HSLhsl(59, 57%, 31%)
HSVhsv(59, 73%, 49%)
CMYKcmyk(0%, 0.8%, 72.8%, 51%)
CIE-LABlab(50.56, -11.08, 46.55)
CIE-LCHlch(50.56, 47.85, 103.39°)
OKLaboklab(57% -0.0351 0.1034)
OKLCHoklch(57% 0.109 108.8)
XYZxyz(15.9544, 18.8913, 4.3190)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C22 #22237D
analogous
#7D4E22 #7D7C22 #507D22
triadic
#7D7C22 #227D7C #7C227D
tetradic
#7D7C22 #227D4E #22237D #7D2250
square
#7D7C22 #227D4E #22237D #7D2250
split-complementary
#7D7C22 #22507D #4E227D
monochromatic
#1D1D08 #4D4C15 #7D7C22 #ADAC2F #CECD4B

Accessibility & contrast

On white

4.39
#7D7C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7D7C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C22
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C22#FFFFFF#000000##000000
##7D7C221.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867713
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#86746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7c22;
/* rgb */ color: rgb(125, 124, 34);
/* oklch */ color: oklch(57.0% 0.109 108.8);
Tailwind
colors: {
  custom: {
    50: '#a6a164',
    500: '#7d7c22',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c22;
$custom-light: #a6a164;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c22",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 59.341,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56998,
    "c": 0.10918,
    "h": 108.8
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#7D7C22
secondary
#4B4CB0
accent
#49E047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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