#7A8A1D#7A8A1D

#7A8A1D is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.0% C 0.129 H 118.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7A8A1D
RGBrgb(122, 138, 29)
HSLhsl(69, 65%, 33%)
HSVhsv(69, 79%, 54%)
CMYKcmyk(11.6%, 0%, 79%, 45.9%)
CIE-LABlab(54.45, -20.11, 51.95)
CIE-LCHlch(54.45, 55.71, 111.17°)
OKLaboklab(60.05% -0.0605 0.114)
OKLCHoklch(60.05% 0.129 118)
XYZxyz(17.3367, 22.4034, 4.5732)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A1D #2D1D8A
analogous
#8A631D #7A8A1D #448A1D
triadic
#7A8A1D #1D7A8A #8A1D7A
tetradic
#7A8A1D #1D8A63 #2D1D8A #8A1D44
square
#7A8A1D #1D8A63 #2D1D8A #8A1D44
split-complementary
#7A8A1D #1D448A #631D8A
monochromatic
#212508 #4D5712 #7A8A1D #A7BD28 #C4D949

Accessibility & contrast

On white

3.83
#7A8A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#7A8A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A1D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A1D#FFFFFF#000000##000000
##7A8A1D1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928327
Tritanopia (blue-blind)
#828276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8a1d;
/* rgb */ color: rgb(122, 138, 29);
/* oklch */ color: oklch(60.0% 0.129 118.0);
Tailwind
colors: {
  custom: {
    50: '#a4ac63',
    500: '#7a8a1d',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a1d;
$custom-light: #a4ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a1d",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 68.807,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.12904,
    "h": 118
  },
  "luminance": 0.22403
}

Semantic roles & 50–950 ramp

primary
#7A8A1D
secondary
#5948BB
accent
#40E858
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A8A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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