#7A8818#7A8818

#7A8818 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.5% C 0.129 H 117.0°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A8818
RGBrgb(122, 136, 24)
HSLhsl(68, 70%, 31%)
HSVhsv(68, 82%, 53%)
CMYKcmyk(10.3%, 0%, 82.4%, 46.7%)
CIE-LABlab(53.83, -19.29, 52.93)
CIE-LCHlch(53.83, 56.34, 110.02°)
OKLaboklab(59.54% -0.0587 0.1151)
OKLCHoklch(59.54% 0.129 117)
XYZxyz(16.9955, 21.8121, 4.1788)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8818 #261888
analogous
#885E18 #7A8818 #428818
triadic
#7A8818 #187A88 #88187A
tetradic
#7A8818 #18885E #261888 #881842
square
#7A8818 #18885E #261888 #881842
split-complementary
#7A8818 #184288 #5E1888
monochromatic
#1D2006 #4B540F #7A8818 #A9BC21 #C9DD3E

Accessibility & contrast

On white

3.92
#7A8818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7A8818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8818
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8818#FFFFFF#000000##000000
##7A88181.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#918123
Tritanopia (blue-blind)
#828074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a8818;
/* rgb */ color: rgb(122, 136, 24);
/* oklch */ color: oklch(59.5% 0.129 117.0);
Tailwind
colors: {
  custom: {
    50: '#a4aa61',
    500: '#7a8818',
    950: '#000000',
  },
}
SCSS
$custom: #7a8818;
$custom-light: #a4aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8818",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 67.5,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59537,
    "c": 0.12923,
    "h": 117
  },
  "luminance": 0.21812
}

Semantic roles & 50–950 ramp

primary
#7A8818
secondary
#5040BC
accent
#3BED51
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8818

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

Preview Lab → · Contrast checker → · Palette generator →

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