#7A8024#7A8024

#7A8024 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.113 H 113.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7A8024
RGBrgb(122, 128, 36)
HSLhsl(64, 56%, 32%)
HSVhsv(64, 72%, 50%)
CMYKcmyk(4.7%, 0%, 71.9%, 49.8%)
CIE-LABlab(51.50, -14.50, 46.59)
CIE-LCHlch(51.50, 48.80, 107.29°)
OKLaboklab(57.69% -0.0443 0.1039)
OKLCHoklch(57.69% 0.113 113.1)
XYZxyz(16.0641, 19.7036, 4.6257)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8024 #2A2480
analogous
#805824 #7A8024 #4C8024
triadic
#7A8024 #247A80 #80247A
tetradic
#7A8024 #248058 #2A2480 #80244C
square
#7A8024 #248058 #2A2480 #80244C
split-complementary
#7A8024 #244C80 #582480
monochromatic
#1F2009 #4C5017 #7A8024 #A8B031 #C6CE50

Accessibility & contrast

On white

4.25
#7A8024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7A8024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8024
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8024#FFFFFF#000000##000000
##7A80241.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#82786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a8024;
/* rgb */ color: rgb(122, 128, 36);
/* oklch */ color: oklch(57.7% 0.113 113.1);
Tailwind
colors: {
  custom: {
    50: '#a3a465',
    500: '#7a8024',
    950: '#000000',
  },
}
SCSS
$custom: #7a8024;
$custom-light: #a3a465;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8024",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 63.913,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.11299,
    "h": 113.1
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#7A8024
secondary
#554EB2
accent
#48DF52
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8024

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

Preview Lab → · Contrast checker → · Palette generator →

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