#7A7D2B#7A7D2B

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

Color values

HEX#7A7D2B
RGBrgb(122, 125, 43)
HSLhsl(62, 49%, 33%)
HSVhsv(62, 66%, 49%)
CMYKcmyk(2.4%, 0%, 65.6%, 51%)
CIE-LABlab(50.66, -12.44, 42.77)
CIE-LCHlch(50.66, 44.54, 106.22°)
OKLaboklab(57.04% -0.0378 0.0971)
OKLCHoklch(57.04% 0.104 111.3)
XYZxyz(15.7962, 18.9796, 5.1164)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D2B #2E2B7D
analogous
#7D572B #7A7D2B #517D2B
triadic
#7A7D2B #2B7A7D #7D2B7A
tetradic
#7A7D2B #2B7D57 #2E2B7D #7D2B51
square
#7A7D2B #2B7D57 #2E2B7D #7D2B51
split-complementary
#7A7D2B #2B517D #572B7D
monochromatic
#21220C #4E4F1B #7A7D2B #A6AB3B #C3C75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7D2B#FFFFFF#000000##000000
##7A7D2B1.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)
#877720
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#82756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a7d2b;
/* rgb */ color: rgb(122, 125, 43);
/* oklch */ color: oklch(57.0% 0.104 111.3);
Tailwind
colors: {
  custom: {
    50: '#a3a269',
    500: '#7a7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d2b;
$custom-light: #a3a269;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d2b",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 62.195,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57039,
    "c": 0.10415,
    "h": 111.3
  },
  "luminance": 0.18979
}

Semantic roles & 50–950 ramp

primary
#7A7D2B
secondary
#5A57AD
accent
#4FD854
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #7A7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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