#7D7E22#7D7E22

#7D7E22 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.111 H 110.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D7E22
RGBrgb(125, 126, 34)
HSLhsl(61, 58%, 31%)
HSVhsv(61, 73%, 49%)
CMYKcmyk(0.8%, 0%, 73%, 50.6%)
CIE-LABlab(51.15, -12.17, 47.12)
CIE-LCHlch(51.15, 48.67, 104.48°)
OKLaboklab(57.47% -0.0382 0.1046)
OKLCHoklch(57.47% 0.111 110.1)
XYZxyz(16.2076, 19.3976, 4.4034)
Luminance0.1940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7E22 #23227E
analogous
#7E5122 #7D7E22 #4F7E22
triadic
#7D7E22 #227D7E #7E227D
tetradic
#7D7E22 #227E51 #23227E #7E224F
square
#7D7E22 #227E51 #23227E #7E224F
split-complementary
#7D7E22 #224F7E #51227E
monochromatic
#1D1E08 #4D4E15 #7D7E22 #ADAE2F #CDCF4C

Accessibility & contrast

On white

4.30
#7D7E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7D7E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7E22
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7E22#FFFFFF#000000##000000
##7D7E221.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#86766C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d7e22;
/* rgb */ color: rgb(125, 126, 34);
/* oklch */ color: oklch(57.5% 0.111 110.1);
Tailwind
colors: {
  custom: {
    50: '#a6a364',
    500: '#7d7e22',
    950: '#000000',
  },
}
SCSS
$custom: #7d7e22;
$custom-light: #a6a364;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7e22",
  "rgb": {
    "r": 125,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 60.652,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.11134,
    "h": 110.1
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#7D7E22
secondary
#4C4BB1
accent
#47E149
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7D7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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