#7A7D22#7A7D22

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

Color values

HEX#7A7D22
RGBrgb(122, 125, 34)
HSLhsl(62, 57%, 31%)
HSVhsv(62, 73%, 49%)
CMYKcmyk(2.4%, 0%, 72.8%, 51%)
CIE-LABlab(50.59, -13.00, 46.49)
CIE-LCHlch(50.59, 48.28, 105.62°)
OKLaboklab(56.96% -0.0403 0.1034)
OKLCHoklch(56.96% 0.111 111.3)
XYZxyz(15.6489, 18.9207, 4.3408)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D22 #25227D
analogous
#7D5222 #7A7D22 #4C7D22
triadic
#7A7D22 #227A7D #7D227A
tetradic
#7A7D22 #227D52 #25227D #7D224C
square
#7A7D22 #227D52 #25227D #7D224C
split-complementary
#7A7D22 #224C7D #52227D
monochromatic
#1C1D08 #4B4D15 #7A7D22 #A9AD2F #CACE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7D22#FFFFFF#000000##000000
##7A7D221.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)
#877712
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#83756B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a7d22;
/* rgb */ color: rgb(122, 125, 34);
/* oklch */ color: oklch(57.0% 0.111 111.3);
Tailwind
colors: {
  custom: {
    50: '#a3a264',
    500: '#7a7d22',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d22;
$custom-light: #a3a264;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d22",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 61.978,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.11096,
    "h": 111.3
  },
  "luminance": 0.1892
}

Semantic roles & 50–950 ramp

primary
#7A7D22
secondary
#4E4BB0
accent
#47E04C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #7A7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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