#7D7A22#7D7A22

#7D7A22 is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.107 H 107.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D7A22
RGBrgb(125, 122, 34)
HSLhsl(58, 57%, 31%)
HSVhsv(58, 73%, 49%)
CMYKcmyk(0%, 2.4%, 72.8%, 51%)
CIE-LABlab(49.97, -9.98, 45.97)
CIE-LCHlch(49.97, 47.05, 102.25°)
OKLaboklab(56.53% -0.0321 0.1022)
OKLCHoklch(56.53% 0.107 107.4)
XYZxyz(15.7063, 18.3951, 4.2363)
Luminance0.1840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7A22 #22257D
analogous
#7D4C22 #7D7A22 #527D22
triadic
#7D7A22 #227D7A #7A227D
tetradic
#7D7A22 #227D4C #22257D #7D2252
square
#7D7A22 #227D4C #22257D #7D2252
split-complementary
#7D7A22 #22527D #4C227D
monochromatic
#1D1C08 #4D4B15 #7D7A22 #ADA92F #CECA4B

Accessibility & contrast

On white

4.49
#7D7A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7D7A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7A22
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7A22#FFFFFF#000000##000000
##7D7A221.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857513
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#867269
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d7a22;
/* rgb */ color: rgb(125, 122, 34);
/* oklch */ color: oklch(56.5% 0.107 107.4);
Tailwind
colors: {
  custom: {
    50: '#a6a063',
    500: '#7d7a22',
    950: '#000000',
  },
}
SCSS
$custom: #7d7a22;
$custom-light: #a6a063;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7a22",
  "rgb": {
    "r": 125,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 58.022,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56529,
    "c": 0.10707,
    "h": 107.4
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#7D7A22
secondary
#4B4EB0
accent
#4CE047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7A22

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

Preview Lab → · Contrast checker → · Palette generator →

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