#7A8617#7A8617

#7A8617 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.127 H 116.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7A8617
RGBrgb(122, 134, 23)
HSLhsl(66, 71%, 31%)
HSVhsv(66, 83%, 53%)
CMYKcmyk(9%, 0%, 82.8%, 47.5%)
CIE-LABlab(53.22, -18.29, 52.69)
CIE-LCHlch(53.22, 55.77, 109.14°)
OKLaboklab(59.05% -0.056 0.1144)
OKLCHoklch(59.05% 0.127 116.1)
XYZxyz(16.7063, 21.2499, 4.0320)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8617 #231786
analogous
#865A17 #7A8617 #438617
triadic
#7A8617 #177A86 #86177A
tetradic
#7A8617 #17865A #231786 #861743
square
#7A8617 #17865A #231786 #861743
split-complementary
#7A8617 #174386 #5A1786
monochromatic
#1B1E05 #4A520E #7A8617 #AABA20 #CCDD3A

Accessibility & contrast

On white

4.00
#7A8617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7A8617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8617
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8617#FFFFFF#000000##000000
##7A86171.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#827E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a8617;
/* rgb */ color: rgb(122, 134, 23);
/* oklch */ color: oklch(59.0% 0.127 116.1);
Tailwind
colors: {
  custom: {
    50: '#a4a960',
    500: '#7a8617',
    950: '#000000',
  },
}
SCSS
$custom: #7a8617;
$custom-light: #a4a960;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8617",
  "rgb": {
    "r": 122,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 66.486,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59049,
    "c": 0.12739,
    "h": 116.1
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#7A8617
secondary
#4C3FBA
accent
#3AED4E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8617

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

Preview Lab → · Contrast checker → · Palette generator →

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