#7A7D2A#7A7D2A

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

Color values

HEX#7A7D2A
RGBrgb(122, 125, 42)
HSLhsl(62, 50%, 33%)
HSVhsv(62, 66%, 49%)
CMYKcmyk(2.4%, 0%, 66.4%, 51%)
CIE-LABlab(50.65, -12.51, 43.20)
CIE-LCHlch(50.65, 44.98, 106.15°)
OKLaboklab(57.03% -0.0381 0.0978)
OKLCHoklch(57.03% 0.105 111.3)
XYZxyz(15.7780, 18.9724, 5.0209)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7D2A #2D2A7D
analogous
#7D572A #7A7D2A #507D2A
triadic
#7A7D2A #2A7A7D #7D2A7A
tetradic
#7A7D2A #2A7D57 #2D2A7D #7D2A50
square
#7A7D2A #2A7D57 #2D2A7D #7D2A50
split-complementary
#7A7D2A #2A507D #572A7D
monochromatic
#21210B #4D4F1B #7A7D2A #A7AB39 #C4C85A

Accessibility & contrast

On white

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

On black

4.79
#7A7D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7D2A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7D2A#FFFFFF#000000##000000
##7A7D2A1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771F
Deuteranopia (green-blind)
#877A2F
Tritanopia (blue-blind)
#82756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a7d2a;
/* rgb */ color: rgb(122, 125, 42);
/* oklch */ color: oklch(57.0% 0.105 111.3);
Tailwind
colors: {
  custom: {
    50: '#a3a268',
    500: '#7a7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7a7d2a;
$custom-light: #a3a268;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7d2a",
  "rgb": {
    "r": 122,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 62.169,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.10497,
    "h": 111.3
  },
  "luminance": 0.18972
}

Semantic roles & 50–950 ramp

primary
#7A7D2A
secondary
#5956AD
accent
#4FD954
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #7A7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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