#7A7E22#7A7E22

#7A7E22 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.2% C 0.112 H 111.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7A7E22
RGBrgb(122, 126, 34)
HSLhsl(63, 58%, 31%)
HSVhsv(63, 73%, 49%)
CMYKcmyk(3.2%, 0%, 73%, 50.6%)
CIE-LABlab(50.89, -13.54, 46.79)
CIE-LCHlch(50.89, 48.71, 106.14°)
OKLaboklab(57.2% -0.0419 0.104)
OKLCHoklch(57.2% 0.112 111.9)
XYZxyz(15.7761, 19.1752, 4.3832)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7E22 #26227E
analogous
#7E5422 #7A7E22 #4C7E22
triadic
#7A7E22 #227A7E #7E227A
tetradic
#7A7E22 #227E54 #26227E #7E224C
square
#7A7E22 #227E54 #26227E #7E224C
split-complementary
#7A7E22 #224C7E #54227E
monochromatic
#1D1E08 #4B4E15 #7A7E22 #A9AE2F #C9CF4C

Accessibility & contrast

On white

4.34
#7A7E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7A7E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7E22
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7E22#FFFFFF#000000##000000
##7A7E221.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887812
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#83766C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a7e22;
/* rgb */ color: rgb(122, 126, 34);
/* oklch */ color: oklch(57.2% 0.112 111.9);
Tailwind
colors: {
  custom: {
    50: '#a3a364',
    500: '#7a7e22',
    950: '#000000',
  },
}
SCSS
$custom: #7a7e22;
$custom-light: #a3a364;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7e22",
  "rgb": {
    "r": 122,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 62.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.572,
    "c": 0.11208,
    "h": 111.9
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#7A7E22
secondary
#504BB1
accent
#47E14E
background
#FAFAF6
surface
#F4F3EB
border
#CECDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A7E22

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

Preview Lab → · Contrast checker → · Palette generator →

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