#7A8A24#7A8A24

#7A8A24 is a mid, vivid yellow. Relative luminance 0.224; OKLCH L 60.1% C 0.125 H 118.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7A8A24
RGBrgb(122, 138, 36)
HSLhsl(69, 59%, 34%)
HSVhsv(69, 74%, 54%)
CMYKcmyk(11.6%, 0%, 73.9%, 45.9%)
CIE-LABlab(54.49, -19.76, 49.53)
CIE-LCHlch(54.49, 53.33, 111.75°)
OKLaboklab(60.09% -0.0589 0.1101)
OKLCHoklch(60.09% 0.125 118.2)
XYZxyz(17.4333, 22.4421, 5.0821)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8A24 #34248A
analogous
#8A6724 #7A8A24 #478A24
triadic
#7A8A24 #247A8A #8A247A
tetradic
#7A8A24 #248A67 #34248A #8A2447
square
#7A8A24 #248A67 #34248A #8A2447
split-complementary
#7A8A24 #24478A #67248A
monochromatic
#24290B #4F5917 #7A8A24 #A5BB31 #BFD356

Accessibility & contrast

On white

3.83
#7A8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#7A8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8A24
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8A24#FFFFFF#000000##000000
##7A8A241.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938211
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#828276
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a8a24;
/* rgb */ color: rgb(122, 138, 36);
/* oklch */ color: oklch(60.1% 0.125 118.2);
Tailwind
colors: {
  custom: {
    50: '#a3ac66',
    500: '#7a8a24',
    950: '#000000',
  },
}
SCSS
$custom: #7a8a24;
$custom-light: #a3ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8a24",
  "rgb": {
    "r": 122,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 69.412,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.60093,
    "c": 0.1249,
    "h": 118.2
  },
  "luminance": 0.22442
}

Semantic roles & 50–950 ramp

primary
#7A8A24
secondary
#6353B7
accent
#46E25E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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