#7A8914#7A8914

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

Color values

HEX#7A8914
RGBrgb(122, 137, 20)
HSLhsl(68, 75%, 31%)
HSVhsv(68, 85%, 54%)
CMYKcmyk(10.9%, 0%, 85.4%, 46.3%)
CIE-LABlab(54.11, -19.95, 54.27)
CIE-LCHlch(54.11, 57.82, 110.18°)
OKLaboklab(59.76% -0.0607 0.1173)
OKLCHoklch(59.76% 0.132 117.4)
XYZxyz(17.0984, 22.0796, 4.0227)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8914 #231489
analogous
#895D14 #7A8914 #408914
triadic
#7A8914 #147A89 #89147A
tetradic
#7A8914 #14895D #231489 #891440
square
#7A8914 #14895D #231489 #891440
split-complementary
#7A8914 #144089 #5D1489
monochromatic
#1B1E04 #4A540C #7A8914 #AABE1C #CCE236

Accessibility & contrast

On white

3.88
#7A8914 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8914#FFFFFF#000000##000000
##7A89141.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a8914;
/* rgb */ color: rgb(122, 137, 20);
/* oklch */ color: oklch(59.8% 0.132 117.4);
Tailwind
colors: {
  custom: {
    50: '#a4ab5f',
    500: '#7a8914',
    950: '#000000',
  },
}
SCSS
$custom: #7a8914;
$custom-light: #a4ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8914",
  "rgb": {
    "r": 122,
    "g": 137,
    "b": 20
  },
  "hsl": {
    "h": 67.692,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.13211,
    "h": 117.4
  },
  "luminance": 0.22079
}

Semantic roles & 50–950 ramp

primary
#7A8914
secondary
#4C3CBD
accent
#37F14F
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7A8914

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

Preview Lab → · Contrast checker → · Palette generator →

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