#7A8015#7A8015

#7A8015 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.122 H 113.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A8015
RGBrgb(122, 128, 21)
HSLhsl(63, 72%, 29%)
HSVhsv(63, 84%, 50%)
CMYKcmyk(4.7%, 0%, 83.6%, 49.8%)
CIE-LABlab(51.42, -15.20, 51.68)
CIE-LCHlch(51.42, 53.87, 106.39°)
OKLaboklab(57.6% -0.0476 0.1119)
OKLCHoklch(57.6% 0.122 113)
XYZxyz(15.8811, 19.6304, 3.6618)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8015 #1B1580
analogous
#805015 #7A8015 #458015
triadic
#7A8015 #157A80 #80157A
tetradic
#7A8015 #158050 #1B1580 #801545
square
#7A8015 #158050 #1B1580 #801545
split-complementary
#7A8015 #154580 #501580
monochromatic
#191A04 #484B0C #7A8015 #ACB51E #D4DD32

Accessibility & contrast

On white

4.26
#7A8015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7A8015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8015
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8015#FFFFFF#000000##000000
##7A80151.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7C20
Tritanopia (blue-blind)
#83786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a8015;
/* rgb */ color: rgb(122, 128, 21);
/* oklch */ color: oklch(57.6% 0.122 113.0);
Tailwind
colors: {
  custom: {
    50: '#a4a45e',
    500: '#7a8015',
    950: '#000000',
  },
}
SCSS
$custom: #7a8015;
$custom-light: #a4a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8015",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 21
  },
  "hsl": {
    "h": 63.364,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57598,
    "c": 0.12161,
    "h": 113
  },
  "luminance": 0.1963
}

Semantic roles & 50–950 ramp

primary
#7A8015
secondary
#433CB5
accent
#39EF43
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8015

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

Preview Lab → · Contrast checker → · Palette generator →

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