#7A8D1A#7A8D1A

#7A8D1A is a mid, vivid yellow. Relative luminance 0.233; OKLCH L 60.8% C 0.134 H 119.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7A8D1A
RGBrgb(122, 141, 26)
HSLhsl(70, 69%, 33%)
HSVhsv(70, 82%, 55%)
CMYKcmyk(13.5%, 0%, 81.6%, 44.7%)
CIE-LABlab(55.34, -21.77, 53.69)
CIE-LCHlch(55.34, 57.93, 112.08°)
OKLaboklab(60.76% -0.0653 0.1171)
OKLCHoklch(60.76% 0.134 119.2)
XYZxyz(17.7378, 23.2620, 4.5327)
Luminance0.2326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8D1A #2D1A8D
analogous
#8D661A #7A8D1A #408D1A
triadic
#7A8D1A #1A7A8D #8D1A7A
tetradic
#7A8D1A #1A8D66 #2D1A8D #8D1A40
square
#7A8D1A #1A8D66 #2D1A8D #8D1A40
split-complementary
#7A8D1A #1A408D #661A8D
monochromatic
#212607 #4D5910 #7A8D1A #A7C124 #C4DD45

Accessibility & contrast

On white

3.72
#7A8D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7A8D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8D1A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8D1A#FFFFFF#000000##000000
##7A8D1A1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#828578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7a8d1a;
/* rgb */ color: rgb(122, 141, 26);
/* oklch */ color: oklch(60.8% 0.134 119.2);
Tailwind
colors: {
  custom: {
    50: '#a4ae62',
    500: '#7a8d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7a8d1a;
$custom-light: #a4ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8d1a",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 69.913,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60759,
    "c": 0.1341,
    "h": 119.2
  },
  "luminance": 0.23262
}

Semantic roles & 50–950 ramp

primary
#7A8D1A
secondary
#5945BE
accent
#3CEC59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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