#7A8615#7A8615

#7A8615 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.128 H 116.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7A8615
RGBrgb(122, 134, 21)
HSLhsl(66, 73%, 30%)
HSVhsv(66, 84%, 53%)
CMYKcmyk(9%, 0%, 84.3%, 47.5%)
CIE-LABlab(53.21, -18.36, 53.24)
CIE-LCHlch(53.21, 56.31, 109.03°)
OKLaboklab(59.04% -0.0563 0.1153)
OKLCHoklch(59.04% 0.128 116)
XYZxyz(16.6870, 21.2422, 3.9304)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8615 #211586
analogous
#865A15 #7A8615 #418615
triadic
#7A8615 #157A86 #86157A
tetradic
#7A8615 #15865A #211586 #861541
square
#7A8615 #15865A #211586 #861541
split-complementary
#7A8615 #154186 #5A1586
monochromatic
#1A1C04 #4A510D #7A8615 #AABB1D #CDDF36

Accessibility & contrast

On white

4.00
#7A8615 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7A8615 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8615
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8615#FFFFFF#000000##000000
##7A86151.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#827E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a8615;
/* rgb */ color: rgb(122, 134, 21);
/* oklch */ color: oklch(59.0% 0.128 116.0);
Tailwind
colors: {
  custom: {
    50: '#a4a95f',
    500: '#7a8615',
    950: '#000000',
  },
}
SCSS
$custom: #7a8615;
$custom-light: #a4a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8615",
  "rgb": {
    "r": 122,
    "g": 134,
    "b": 21
  },
  "hsl": {
    "h": 66.372,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5904,
    "c": 0.12828,
    "h": 116
  },
  "luminance": 0.21242
}

Semantic roles & 50–950 ramp

primary
#7A8615
secondary
#4A3CBA
accent
#38F04C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8615

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

Preview Lab → · Contrast checker → · Palette generator →

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