#7A8017#7A8017

#7A8017 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.121 H 113.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A8017
RGBrgb(122, 128, 23)
HSLhsl(63, 70%, 30%)
HSVhsv(63, 82%, 50%)
CMYKcmyk(4.7%, 0%, 82%, 49.8%)
CIE-LABlab(51.43, -15.12, 51.10)
CIE-LCHlch(51.43, 53.29, 106.49°)
OKLaboklab(57.61% -0.0473 0.111)
OKLCHoklch(57.61% 0.121 113.1)
XYZxyz(15.9004, 19.6381, 3.7634)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8017 #1D1780
analogous
#805217 #7A8017 #458017
triadic
#7A8017 #177A80 #80177A
tetradic
#7A8017 #178052 #1D1780 #801745
square
#7A8017 #178052 #1D1780 #801745
split-complementary
#7A8017 #174580 #521780
monochromatic
#191A05 #494C0E #7A8017 #ABB420 #D2DB36

Accessibility & contrast

On white

4.26
#7A8017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7A8017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8017
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8017#FFFFFF#000000##000000
##7A80171.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7C21
Tritanopia (blue-blind)
#83786D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8017;
/* rgb */ color: rgb(122, 128, 23);
/* oklch */ color: oklch(57.6% 0.121 113.1);
Tailwind
colors: {
  custom: {
    50: '#a4a45f',
    500: '#7a8017',
    950: '#000000',
  },
}
SCSS
$custom: #7a8017;
$custom-light: #a4a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8017",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 63.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.12068,
    "h": 113.1
  },
  "luminance": 0.19638
}

Semantic roles & 50–950 ramp

primary
#7A8017
secondary
#453EB4
accent
#3BEC46
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8017

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

Preview Lab → · Contrast checker → · Palette generator →

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