#7A8D15#7A8D15

#7A8D15 is a mid, vivid yellow. Relative luminance 0.232; OKLCH L 60.7% C 0.136 H 119.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7A8D15
RGBrgb(122, 141, 21)
HSLhsl(70, 74%, 32%)
HSVhsv(70, 85%, 55%)
CMYKcmyk(13.5%, 0%, 85.1%, 44.7%)
CIE-LABlab(55.32, -21.96, 55.05)
CIE-LCHlch(55.32, 59.27, 111.75°)
OKLaboklab(60.73% -0.0662 0.1192)
OKLCHoklch(60.73% 0.136 119.1)
XYZxyz(17.6867, 23.2416, 4.2637)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8D15 #28158D
analogous
#8D6415 #7A8D15 #3E8D15
triadic
#7A8D15 #157A8D #8D157A
tetradic
#7A8D15 #158D64 #28158D #8D153E
square
#7A8D15 #158D64 #28158D #8D153E
split-complementary
#7A8D15 #153E8D #64158D
monochromatic
#1E2205 #4C580D #7A8D15 #A8C21D #C7E23B

Accessibility & contrast

On white

3.72
#7A8D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#7A8D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8D15
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8D15#FFFFFF#000000##000000
##7A8D151.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#828578
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7a8d15;
/* rgb */ color: rgb(122, 141, 21);
/* oklch */ color: oklch(60.7% 0.136 119.1);
Tailwind
colors: {
  custom: {
    50: '#a4ae60',
    500: '#7a8d15',
    950: '#000000',
  },
}
SCSS
$custom: #7a8d15;
$custom-light: #a4ae60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8d15",
  "rgb": {
    "r": 122,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 69.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.13631,
    "h": 119.1
  },
  "luminance": 0.23241
}

Semantic roles & 50–950 ramp

primary
#7A8D15
secondary
#523DC1
accent
#37F154
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8D15

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

Preview Lab → · Contrast checker → · Palette generator →

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