#7A8D16#7A8D16

#7A8D16 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.7% C 0.136 H 119.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7A8D16
RGBrgb(122, 141, 22)
HSLhsl(70, 73%, 32%)
HSVhsv(70, 84%, 55%)
CMYKcmyk(13.5%, 0%, 84.4%, 44.7%)
CIE-LABlab(55.32, -21.93, 54.79)
CIE-LCHlch(55.32, 59.02, 111.81°)
OKLaboklab(60.74% -0.066 0.1188)
OKLCHoklch(60.74% 0.136 119.1)
XYZxyz(17.6961, 23.2454, 4.3135)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8D16 #29168D
analogous
#8D6516 #7A8D16 #3F8D16
triadic
#7A8D16 #167A8D #8D167A
tetradic
#7A8D16 #168D65 #29168D #8D163F
square
#7A8D16 #168D65 #29168D #8D163F
split-complementary
#7A8D16 #163F8D #65168D
monochromatic
#1E2305 #4C580E #7A8D16 #A8C21E #C7E13D

Accessibility & contrast

On white

3.72
#7A8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7A8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8D16
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8D16#FFFFFF#000000##000000
##7A8D161.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#828578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7a8d16;
/* rgb */ color: rgb(122, 141, 22);
/* oklch */ color: oklch(60.7% 0.136 119.1);
Tailwind
colors: {
  custom: {
    50: '#a4ae61',
    500: '#7a8d16',
    950: '#000000',
  },
}
SCSS
$custom: #7a8d16;
$custom-light: #a4ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8d16",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 69.58,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.1359,
    "h": 119.1
  },
  "luminance": 0.23245
}

Semantic roles & 50–950 ramp

primary
#7A8D16
secondary
#533EC1
accent
#38F055
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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