#7A8115#7A8115

#7A8115 is a mid, vivid yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.123 H 113.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7A8115
RGBrgb(122, 129, 21)
HSLhsl(64, 72%, 29%)
HSVhsv(64, 84%, 51%)
CMYKcmyk(5.4%, 0%, 83.7%, 49.4%)
CIE-LABlab(51.72, -15.73, 51.94)
CIE-LCHlch(51.72, 54.27, 106.85°)
OKLaboklab(57.84% -0.0491 0.1125)
OKLCHoklch(57.84% 0.123 113.6)
XYZxyz(16.0122, 19.8926, 3.7055)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8115 #1C1581
analogous
#815215 #7A8115 #448115
triadic
#7A8115 #157A81 #81157A
tetradic
#7A8115 #158152 #1C1581 #811544
square
#7A8115 #158152 #1C1581 #811544
split-complementary
#7A8115 #154481 #521581
monochromatic
#191A04 #484C0C #7A8115 #ACB61E #D3DE33

Accessibility & contrast

On white

4.22
#7A8115 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7A8115 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8115
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8115#FFFFFF#000000##000000
##7A81151.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C20
Tritanopia (blue-blind)
#83796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8115;
/* rgb */ color: rgb(122, 129, 21);
/* oklch */ color: oklch(57.8% 0.123 113.6);
Tailwind
colors: {
  custom: {
    50: '#a4a55e',
    500: '#7a8115',
    950: '#000000',
  },
}
SCSS
$custom: #7a8115;
$custom-light: #a4a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8115",
  "rgb": {
    "r": 122,
    "g": 129,
    "b": 21
  },
  "hsl": {
    "h": 63.889,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.1227,
    "h": 113.6
  },
  "luminance": 0.19892
}

Semantic roles & 50–950 ramp

primary
#7A8115
secondary
#443CB6
accent
#39EF45
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8115

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

Preview Lab → · Contrast checker → · Palette generator →

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