#7D901A#7D901A

#7D901A is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.7% C 0.136 H 119.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7D901A
RGBrgb(125, 144, 26)
HSLhsl(70, 69%, 33%)
HSVhsv(70, 82%, 56%)
CMYKcmyk(13.2%, 0%, 81.9%, 43.5%)
CIE-LABlab(56.47, -21.98, 54.77)
CIE-LCHlch(56.47, 59.02, 111.87°)
OKLaboklab(61.72% -0.0661 0.1193)
OKLCHoklch(61.72% 0.136 119)
XYZxyz(18.6176, 24.3812, 4.7023)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D901A #2D1A90
analogous
#90681A #7D901A #42901A
triadic
#7D901A #1A7D90 #901A7D
tetradic
#7D901A #1A9068 #2D1A90 #901A42
square
#7D901A #1A9068 #2D1A90 #901A42
split-complementary
#7D901A #1A4290 #681A90
monochromatic
#232807 #505C11 #7D901A #AAC423 #C5DE47

Accessibility & contrast

On white

3.57
#7D901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7D901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D901A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D901A#FFFFFF#000000##000000
##7D901A1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#988826
Tritanopia (blue-blind)
#85887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d901a;
/* rgb */ color: rgb(125, 144, 26);
/* oklch */ color: oklch(61.7% 0.136 119.0);
Tailwind
colors: {
  custom: {
    50: '#a6b063',
    500: '#7d901a',
    950: '#000000',
  },
}
SCSS
$custom: #7d901a;
$custom-light: #a6b063;
$custom-dark: #000000;
JSON
{
  "hex": "#7d901a",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 69.661,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.13639,
    "h": 119
  },
  "luminance": 0.24381
}

Semantic roles & 50–950 ramp

primary
#7D901A
secondary
#5A47BF
accent
#3CEC58
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D901A

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

Preview Lab → · Contrast checker → · Palette generator →

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