#7A891C#7A891C

#7A891C 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#7A891C
RGBrgb(122, 137, 28)
HSLhsl(68, 66%, 32%)
HSVhsv(68, 80%, 54%)
CMYKcmyk(10.9%, 0%, 79.6%, 46.3%)
CIE-LABlab(54.15, -19.64, 51.99)
CIE-LCHlch(54.15, 55.58, 110.70°)
OKLaboklab(59.8% -0.0593 0.1139)
OKLCHoklch(59.8% 0.128 117.5)
XYZxyz(17.1817, 22.1129, 4.4615)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A891C #2B1C89
analogous
#89621C #7A891C #43891C
triadic
#7A891C #1C7A89 #891C7A
tetradic
#7A891C #1C8962 #2B1C89 #891C43
square
#7A891C #1C8962 #2B1C89 #891C43
split-complementary
#7A891C #1C4389 #621C89
monochromatic
#1F2307 #4D5612 #7A891C #A7BC26 #C5D946

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A891C#FFFFFF#000000##000000
##7A891C1.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: #7a891c;
/* rgb */ color: rgb(122, 137, 28);
/* oklch */ color: oklch(59.8% 0.128 117.5);
Tailwind
colors: {
  custom: {
    50: '#a4ab62',
    500: '#7a891c',
    950: '#000000',
  },
}
SCSS
$custom: #7a891c;
$custom-light: #a4ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a891c",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 68.257,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.598,
    "c": 0.12839,
    "h": 117.5
  },
  "luminance": 0.22113
}

Semantic roles & 50–950 ramp

primary
#7A891C
secondary
#5646BB
accent
#3FE956
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A891C

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

Preview Lab → · Contrast checker → · Palette generator →

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