#7A7C22#7A7C22

#7A7C22 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.7% C 0.110 H 110.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7A7C22
RGBrgb(122, 124, 34)
HSLhsl(61, 57%, 31%)
HSVhsv(61, 73%, 49%)
CMYKcmyk(1.6%, 0%, 72.6%, 51.4%)
CIE-LABlab(50.30, -12.46, 46.20)
CIE-LCHlch(50.30, 47.85, 105.09°)
OKLaboklab(56.73% -0.0388 0.1027)
OKLCHoklch(56.73% 0.11 110.7)
XYZxyz(15.5229, 18.6688, 4.2988)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7C22 #24227C
analogous
#7C5122 #7A7C22 #4D7C22
triadic
#7A7C22 #227A7C #7C227A
tetradic
#7A7C22 #227C51 #24227C #7C224D
square
#7A7C22 #227C51 #24227C #7C224D
split-complementary
#7A7C22 #224D7C #51227C
monochromatic
#1B1C08 #4B4C15 #7A7C22 #A9AC2F #CBCE4B

Accessibility & contrast

On white

4.44
#7A7C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7A7C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7C22
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7C22#FFFFFF#000000##000000
##7A7C221.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#83746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a7c22;
/* rgb */ color: rgb(122, 124, 34);
/* oklch */ color: oklch(56.7% 0.110 110.7);
Tailwind
colors: {
  custom: {
    50: '#a3a164',
    500: '#7a7c22',
    950: '#000000',
  },
}
SCSS
$custom: #7a7c22;
$custom-light: #a3a164;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7c22",
  "rgb": {
    "r": 122,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 61.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.10983,
    "h": 110.7
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#7A7C22
secondary
#4D4BAF
accent
#48E04B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #7A7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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