#7A8718#7A8718

#7A8718 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.128 H 116.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7A8718
RGBrgb(122, 135, 24)
HSLhsl(67, 70%, 31%)
HSVhsv(67, 82%, 53%)
CMYKcmyk(9.6%, 0%, 82.2%, 47.1%)
CIE-LABlab(53.53, -18.77, 52.66)
CIE-LCHlch(53.53, 55.91, 109.62°)
OKLaboklab(59.3% -0.0572 0.1146)
OKLCHoklch(59.3% 0.128 116.5)
XYZxyz(16.8553, 21.5317, 4.1321)
Luminance0.2153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8718 #251887
analogous
#875C18 #7A8718 #428718
triadic
#7A8718 #187A87 #87187A
tetradic
#7A8718 #18875C #251887 #871842
square
#7A8718 #18875C #251887 #871842
split-complementary
#7A8718 #184287 #5C1887
monochromatic
#1C1F06 #4B530F #7A8718 #A9BB21 #CADC3D

Accessibility & contrast

On white

3.96
#7A8718 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7A8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8718
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8718#FFFFFF#000000##000000
##7A87181.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#908123
Tritanopia (blue-blind)
#827F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a8718;
/* rgb */ color: rgb(122, 135, 24);
/* oklch */ color: oklch(59.3% 0.128 116.5);
Tailwind
colors: {
  custom: {
    50: '#a4a960',
    500: '#7a8718',
    950: '#000000',
  },
}
SCSS
$custom: #7a8718;
$custom-light: #a4a960;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8718",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 67.027,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.12807,
    "h": 116.5
  },
  "luminance": 0.21531
}

Semantic roles & 50–950 ramp

primary
#7A8718
secondary
#4E40BB
accent
#3BED50
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7A8718

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

Preview Lab → · Contrast checker → · Palette generator →

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