#7D7622#7D7622

#7D7622 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.103 H 104.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D7622
RGBrgb(125, 118, 34)
HSLhsl(55, 57%, 31%)
HSVhsv(55, 73%, 49%)
CMYKcmyk(0%, 5.6%, 72.8%, 51%)
CIE-LABlab(48.80, -7.77, 44.82)
CIE-LCHlch(48.80, 45.49, 99.83°)
OKLaboklab(55.6% -0.0258 0.0997)
OKLCHoklch(55.6% 0.103 104.5)
XYZxyz(15.2252, 17.4329, 4.0760)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7622 #22297D
analogous
#7D4822 #7D7622 #567D22
triadic
#7D7622 #227D76 #76227D
tetradic
#7D7622 #227D48 #22297D #7D2256
square
#7D7622 #227D48 #22297D #7D2256
split-complementary
#7D7622 #22567D #48227D
monochromatic
#1D1B08 #4D4915 #7D7622 #ADA32F #CEC44B

Accessibility & contrast

On white

4.68
#7D7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7D7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7622
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7622#FFFFFF#000000##FFFFFF
##7D76221.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817215
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#876E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7622;
/* rgb */ color: rgb(125, 118, 34);
/* oklch */ color: oklch(55.6% 0.103 104.5);
Tailwind
colors: {
  custom: {
    50: '#a69d63',
    500: '#7d7622',
    950: '#000000',
  },
}
SCSS
$custom: #7d7622;
$custom-light: #a69d63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7622",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 55.385,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.10301,
    "h": 104.5
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#7D7622
secondary
#4B53B0
accent
#53E047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7622

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

Preview Lab → · Contrast checker → · Palette generator →

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