#7A901B#7A901B

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

Color values

HEX#7A901B
RGBrgb(122, 144, 27)
HSLhsl(71, 68%, 34%)
HSVhsv(71, 81%, 56%)
CMYKcmyk(15.3%, 0%, 81.3%, 43.5%)
CIE-LABlab(56.25, -23.25, 54.20)
CIE-LCHlch(56.25, 58.98, 113.21°)
OKLaboklab(61.49% -0.0693 0.1184)
OKLCHoklch(61.49% 0.137 120.3)
XYZxyz(18.1975, 24.1633, 4.7420)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A901B #311B90
analogous
#906B1B #7A901B #3F901B
triadic
#7A901B #1B7A90 #901B7A
tetradic
#7A901B #1B906B #311B90 #901B3F
square
#7A901B #1B906B #311B90 #901B3F
split-complementary
#7A901B #1B3F90 #6B1B90
monochromatic
#232908 #4E5C11 #7A901B #A6C425 #C1DD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A901B#FFFFFF#000000##000000
##7A901B1.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)
#9A8700
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#81887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a901b;
/* rgb */ color: rgb(122, 144, 27);
/* oklch */ color: oklch(61.5% 0.137 120.3);
Tailwind
colors: {
  custom: {
    50: '#a4b063',
    500: '#7a901b',
    950: '#000000',
  },
}
SCSS
$custom: #7a901b;
$custom-light: #a4b063;
$custom-dark: #000000;
JSON
{
  "hex": "#7a901b",
  "rgb": {
    "r": 122,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 71.282,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.13718,
    "h": 120.3
  },
  "luminance": 0.24163
}

Semantic roles & 50–950 ramp

primary
#7A901B
secondary
#5E48BF
accent
#3DEB5D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A901B

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

Preview Lab → · Contrast checker → · Palette generator →

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