#7A901F#7A901F

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

Color values

HEX#7A901F
RGBrgb(122, 144, 31)
HSLhsl(72, 65%, 34%)
HSVhsv(72, 78%, 56%)
CMYKcmyk(15.3%, 0%, 78.5%, 43.5%)
CIE-LABlab(56.27, -23.07, 52.97)
CIE-LCHlch(56.27, 57.78, 113.54°)
OKLaboklab(61.52% -0.0685 0.1165)
OKLCHoklch(61.52% 0.135 120.5)
XYZxyz(18.2470, 24.1831, 5.0026)
Luminance0.2418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A901F #351F90
analogous
#906D1F #7A901F #42901F
triadic
#7A901F #1F7A90 #901F7A
tetradic
#7A901F #1F906D #351F90 #901F42
square
#7A901F #1F906D #351F90 #901F42
split-complementary
#7A901F #1F4290 #6D1F90
monochromatic
#252B09 #4F5E14 #7A901F #A5C22A #BFD950

Accessibility & contrast

On white

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

On black

5.84
#7A901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A901F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A901F#FFFFFF#000000##000000
##7A901F1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998701
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#81887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a901f;
/* rgb */ color: rgb(122, 144, 31);
/* oklch */ color: oklch(61.5% 0.135 120.5);
Tailwind
colors: {
  custom: {
    50: '#a4b065',
    500: '#7a901f',
    950: '#000000',
  },
}
SCSS
$custom: #7a901f;
$custom-light: #a4b065;
$custom-dark: #000000;
JSON
{
  "hex": "#7a901f",
  "rgb": {
    "r": 122,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 71.681,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61516,
    "c": 0.13514,
    "h": 120.5
  },
  "luminance": 0.24183
}

Semantic roles & 50–950 ramp

primary
#7A901F
secondary
#644EBC
accent
#40E861
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A901F

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

Preview Lab → · Contrast checker → · Palette generator →

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