#7A901C#7A901C

#7A901C is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.5% C 0.137 H 120.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7A901C
RGBrgb(122, 144, 28)
HSLhsl(71, 67%, 34%)
HSVhsv(71, 81%, 56%)
CMYKcmyk(15.3%, 0%, 80.6%, 43.5%)
CIE-LABlab(56.26, -23.21, 53.91)
CIE-LCHlch(56.26, 58.69, 113.29°)
OKLaboklab(61.5% -0.0691 0.1179)
OKLCHoklch(61.5% 0.137 120.4)
XYZxyz(18.2093, 24.1680, 4.8040)
Luminance0.2417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A901C #321C90
analogous
#906C1C #7A901C #40901C
triadic
#7A901C #1C7A90 #901C7A
tetradic
#7A901C #1C906C #321C90 #901C40
square
#7A901C #1C906C #321C90 #901C40
split-complementary
#7A901C #1C4090 #6C1C90
monochromatic
#232A08 #4F5D12 #7A901C #A5C326 #C0DC4A

Accessibility & contrast

On white

3.60
#7A901C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#7A901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A901C
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A901C#FFFFFF#000000##000000
##7A901C1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#978728
Tritanopia (blue-blind)
#81887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a901c;
/* rgb */ color: rgb(122, 144, 28);
/* oklch */ color: oklch(61.5% 0.137 120.4);
Tailwind
colors: {
  custom: {
    50: '#a4b063',
    500: '#7a901c',
    950: '#000000',
  },
}
SCSS
$custom: #7a901c;
$custom-light: #a4b063;
$custom-dark: #000000;
JSON
{
  "hex": "#7a901c",
  "rgb": {
    "r": 122,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 71.379,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61499,
    "c": 0.1367,
    "h": 120.4
  },
  "luminance": 0.24168
}

Semantic roles & 50–950 ramp

primary
#7A901C
secondary
#604ABE
accent
#3DEA5E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A901C

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

Preview Lab → · Contrast checker → · Palette generator →

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