#7A8A15#7A8A15

#7A8A15 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.0% C 0.133 H 117.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7A8A15
RGBrgb(122, 138, 21)
HSLhsl(68, 74%, 31%)
HSVhsv(68, 85%, 54%)
CMYKcmyk(11.6%, 0%, 84.8%, 45.9%)
CIE-LABlab(54.42, -20.43, 54.27)
CIE-LCHlch(54.42, 57.99, 110.63°)
OKLaboklab(60.01% -0.062 0.1175)
OKLCHoklch(60.01% 0.133 117.8)
XYZxyz(17.2503, 22.3689, 4.1182)
Luminance0.2237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A15 #25158A
analogous
#8A5F15 #7A8A15 #3F8A15
triadic
#7A8A15 #157A8A #8A157A
tetradic
#7A8A15 #158A5F #25158A #8A153F
square
#7A8A15 #158A5F #25158A #8A153F
split-complementary
#7A8A15 #153F8A #5F158A
monochromatic
#1C2005 #4B550D #7A8A15 #A9BF1D #CAE139

Accessibility & contrast

On white

3.84
#7A8A15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#7A8A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A15
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A15#FFFFFF#000000##000000
##7A8A151.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#928322
Tritanopia (blue-blind)
#828275
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8a15;
/* rgb */ color: rgb(122, 138, 21);
/* oklch */ color: oklch(60.0% 0.133 117.8);
Tailwind
colors: {
  custom: {
    50: '#a4ac60',
    500: '#7a8a15',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a15;
$custom-light: #a4ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a15",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 21
  },
  "hsl": {
    "h": 68.205,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60007,
    "c": 0.13285,
    "h": 117.8
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#7A8A15
secondary
#4E3DBE
accent
#38F051
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7A8A15

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

Preview Lab → · Contrast checker → · Palette generator →

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