#7A891B#7A891B

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

Color values

HEX#7A891B
RGBrgb(122, 137, 27)
HSLhsl(68, 67%, 32%)
HSVhsv(68, 80%, 54%)
CMYKcmyk(10.9%, 0%, 80.3%, 46.3%)
CIE-LABlab(54.14, -19.69, 52.30)
CIE-LCHlch(54.14, 55.89, 110.62°)
OKLaboklab(59.8% -0.0595 0.1144)
OKLCHoklch(59.8% 0.129 117.5)
XYZxyz(17.1700, 22.1082, 4.3995)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A891B #2A1B89
analogous
#89611B #7A891B #43891B
triadic
#7A891B #1B7A89 #891B7A
tetradic
#7A891B #1B8961 #2A1B89 #891B43
square
#7A891B #1B8961 #2A1B89 #891B43
split-complementary
#7A891B #1B4389 #611B89
monochromatic
#1F2307 #4C5611 #7A891B #A8BC25 #C6DA44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A891B#FFFFFF#000000##000000
##7A891B1.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)
#918226
Tritanopia (blue-blind)
#828175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a891b;
/* rgb */ color: rgb(122, 137, 27);
/* oklch */ color: oklch(59.8% 0.129 117.5);
Tailwind
colors: {
  custom: {
    50: '#a4ab62',
    500: '#7a891b',
    950: '#000000',
  },
}
SCSS
$custom: #7a891b;
$custom-light: #a4ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a891b",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 68.182,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59795,
    "c": 0.12891,
    "h": 117.5
  },
  "luminance": 0.22108
}

Semantic roles & 50–950 ramp

primary
#7A891B
secondary
#5544BC
accent
#3EEA55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A891B

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

Preview Lab → · Contrast checker → · Palette generator →

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