#7A891D#7A891D

#7A891D is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.8% C 0.128 H 117.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7A891D
RGBrgb(122, 137, 29)
HSLhsl(68, 65%, 33%)
HSVhsv(68, 79%, 54%)
CMYKcmyk(10.9%, 0%, 78.8%, 46.3%)
CIE-LABlab(54.15, -19.60, 51.67)
CIE-LCHlch(54.15, 55.26, 110.77°)
OKLaboklab(59.81% -0.0591 0.1134)
OKLCHoklch(59.81% 0.128 117.5)
XYZxyz(17.1939, 22.1178, 4.5255)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A891D #2C1D89
analogous
#89621D #7A891D #44891D
triadic
#7A891D #1D7A89 #891D7A
tetradic
#7A891D #1D8962 #2C1D89 #891D44
square
#7A891D #1D8962 #2C1D89 #891D44
split-complementary
#7A891D #1D4489 #621D89
monochromatic
#202408 #4D5612 #7A891D #A7BC28 #C4D848

Accessibility & contrast

On white

3.87
#7A891D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7A891D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A891D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A891D#FFFFFF#000000##000000
##7A891D1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#828175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a891d;
/* rgb */ color: rgb(122, 137, 29);
/* oklch */ color: oklch(59.8% 0.128 117.5);
Tailwind
colors: {
  custom: {
    50: '#a4ab63',
    500: '#7a891d',
    950: '#000000',
  },
}
SCSS
$custom: #7a891d;
$custom-light: #a4ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a891d",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 68.333,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.59806,
    "c": 0.12786,
    "h": 117.5
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#7A891D
secondary
#5747BA
accent
#40E857
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A891D

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

Preview Lab → · Contrast checker → · Palette generator →

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