#7D7922#7D7922

#7D7922 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.106 H 106.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7D7922
RGBrgb(125, 121, 34)
HSLhsl(57, 57%, 31%)
HSVhsv(57, 73%, 49%)
CMYKcmyk(0%, 3.2%, 72.8%, 51%)
CIE-LABlab(49.68, -9.43, 45.69)
CIE-LCHlch(49.68, 46.65, 101.67°)
OKLaboklab(56.29% -0.0305 0.1016)
OKLCHoklch(56.29% 0.106 106.7)
XYZxyz(15.5842, 18.1508, 4.1956)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7922 #22267D
analogous
#7D4B22 #7D7922 #537D22
triadic
#7D7922 #227D79 #79227D
tetradic
#7D7922 #227D4B #22267D #7D2253
square
#7D7922 #227D4B #22267D #7D2253
split-complementary
#7D7922 #22537D #4B227D
monochromatic
#1D1C08 #4D4A15 #7D7922 #ADA82F #CEC84B

Accessibility & contrast

On white

4.54
#7D7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7D7922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7922
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7922#FFFFFF#000000##000000
##7D79221.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847414
Deuteranopia (green-blind)
#857828
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d7922;
/* rgb */ color: rgb(125, 121, 34);
/* oklch */ color: oklch(56.3% 0.106 106.7);
Tailwind
colors: {
  custom: {
    50: '#a69f63',
    500: '#7d7922',
    950: '#000000',
  },
}
SCSS
$custom: #7d7922;
$custom-light: #a69f63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7922",
  "rgb": {
    "r": 125,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 57.363,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.10604,
    "h": 106.7
  },
  "luminance": 0.1815
}

Semantic roles & 50–950 ramp

primary
#7D7922
secondary
#4B50B0
accent
#4EE047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7922

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

Preview Lab → · Contrast checker → · Palette generator →

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