#7A8415#7A8415

#7A8415 is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.126 H 115.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7A8415
RGBrgb(122, 132, 21)
HSLhsl(65, 73%, 30%)
HSVhsv(65, 84%, 52%)
CMYKcmyk(7.6%, 0%, 84.1%, 48.2%)
CIE-LABlab(52.61, -17.31, 52.72)
CIE-LCHlch(52.61, 55.49, 108.18°)
OKLaboklab(58.56% -0.0534 0.1141)
OKLCHoklch(58.56% 0.126 115.1)
XYZxyz(16.4132, 20.6945, 3.8391)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8415 #1F1584
analogous
#845615 #7A8415 #438415
triadic
#7A8415 #157A84 #84157A
tetradic
#7A8415 #158456 #1F1584 #841543
square
#7A8415 #158456 #1F1584 #841543
split-complementary
#7A8415 #154384 #561584
monochromatic
#181A04 #494F0D #7A8415 #ABB91D #CFDF35

Accessibility & contrast

On white

4.09
#7A8415 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7A8415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8415
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8415#FFFFFF#000000##000000
##7A84151.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#837C70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a8415;
/* rgb */ color: rgb(122, 132, 21);
/* oklch */ color: oklch(58.6% 0.126 115.1);
Tailwind
colors: {
  custom: {
    50: '#a4a75f',
    500: '#7a8415',
    950: '#000000',
  },
}
SCSS
$custom: #7a8415;
$custom-light: #a4a75f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8415",
  "rgb": {
    "r": 122,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 65.405,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.58558,
    "c": 0.12604,
    "h": 115.1
  },
  "luminance": 0.20694
}

Semantic roles & 50–950 ramp

primary
#7A8415
secondary
#473CB9
accent
#39EF49
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8415

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

Preview Lab → · Contrast checker → · Palette generator →

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