#7A8815#7A8815

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

Color values

HEX#7A8815
RGBrgb(122, 136, 21)
HSLhsl(67, 73%, 31%)
HSVhsv(67, 85%, 53%)
CMYKcmyk(10.3%, 0%, 84.6%, 46.7%)
CIE-LABlab(53.81, -19.40, 53.75)
CIE-LCHlch(53.81, 57.15, 109.84°)
OKLaboklab(59.52% -0.0592 0.1164)
OKLCHoklch(59.52% 0.131 117)
XYZxyz(16.9660, 21.8003, 4.0234)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8815 #231588
analogous
#885C15 #7A8815 #418815
triadic
#7A8815 #157A88 #88157A
tetradic
#7A8815 #15885C #231588 #881541
square
#7A8815 #15885C #231588 #881541
split-complementary
#7A8815 #154188 #5C1588
monochromatic
#1B1E05 #4A530D #7A8815 #AABD1D #CCE037

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A8815#FFFFFF#000000##000000
##7A88151.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)
#918121
Tritanopia (blue-blind)
#828074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a8815;
/* rgb */ color: rgb(122, 136, 21);
/* oklch */ color: oklch(59.5% 0.131 117.0);
Tailwind
colors: {
  custom: {
    50: '#a4aa5f',
    500: '#7a8815',
    950: '#000000',
  },
}
SCSS
$custom: #7a8815;
$custom-light: #a4aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8815",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 21
  },
  "hsl": {
    "h": 67.304,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59523,
    "c": 0.13055,
    "h": 117
  },
  "luminance": 0.218
}

Semantic roles & 50–950 ramp

primary
#7A8815
secondary
#4C3DBC
accent
#38F04E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #7A8815

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

Preview Lab → · Contrast checker → · Palette generator →

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