#7B7D22#7B7D22

#7B7D22 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.111 H 110.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7B7D22
RGBrgb(123, 125, 34)
HSLhsl(61, 57%, 31%)
HSVhsv(61, 73%, 49%)
CMYKcmyk(1.6%, 0%, 72.8%, 51%)
CIE-LABlab(50.68, -12.54, 46.61)
CIE-LCHlch(50.68, 48.27, 105.06°)
OKLaboklab(57.05% -0.0391 0.1036)
OKLCHoklch(57.05% 0.111 110.7)
XYZxyz(15.7913, 18.9941, 4.3475)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7D22 #24227D
analogous
#7D5122 #7B7D22 #4D7D22
triadic
#7B7D22 #227B7D #7D227B
tetradic
#7B7D22 #227D51 #24227D #7D224D
square
#7B7D22 #227D51 #24227D #7D224D
split-complementary
#7B7D22 #224D7D #51227D
monochromatic
#1C1D08 #4C4D15 #7B7D22 #AAAD2F #CBCE4B

Accessibility & contrast

On white

4.38
#7B7D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7B7D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7D22
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7D22#FFFFFF#000000##000000
##7B7D221.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877712
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#84756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b7d22;
/* rgb */ color: rgb(123, 125, 34);
/* oklch */ color: oklch(57.1% 0.111 110.7);
Tailwind
colors: {
  custom: {
    50: '#a4a264',
    500: '#7b7d22',
    950: '#000000',
  },
}
SCSS
$custom: #7b7d22;
$custom-light: #a4a264;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7d22",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 61.319,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57052,
    "c": 0.11071,
    "h": 110.7
  },
  "luminance": 0.18994
}

Semantic roles & 50–950 ramp

primary
#7B7D22
secondary
#4D4BB0
accent
#47E04B
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7B7D22

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

Preview Lab → · Contrast checker → · Palette generator →

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