#7D901D#7D901D

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

Color values

HEX#7D901D
RGBrgb(125, 144, 29)
HSLhsl(70, 66%, 34%)
HSVhsv(70, 80%, 56%)
CMYKcmyk(13.2%, 0%, 79.9%, 43.5%)
CIE-LABlab(56.48, -21.86, 53.89)
CIE-LCHlch(56.48, 58.15, 112.08°)
OKLaboklab(61.74% -0.0655 0.118)
OKLCHoklch(61.74% 0.135 119)
XYZxyz(18.6529, 24.3953, 4.8883)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D901D #301D90
analogous
#906A1D #7D901D #44901D
triadic
#7D901D #1D7D90 #901D7D
tetradic
#7D901D #1D906A #301D90 #901D44
square
#7D901D #1D906A #301D90 #901D44
split-complementary
#7D901D #1D4490 #6A1D90
monochromatic
#252A08 #515D13 #7D901D #A9C327 #C3DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D901D#FFFFFF#000000##000000
##7D901D1.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)
#988828
Tritanopia (blue-blind)
#85887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d901d;
/* rgb */ color: rgb(125, 144, 29);
/* oklch */ color: oklch(61.7% 0.135 119.0);
Tailwind
colors: {
  custom: {
    50: '#a6b064',
    500: '#7d901d',
    950: '#000000',
  },
}
SCSS
$custom: #7d901d;
$custom-light: #a6b064;
$custom-dark: #000000;
JSON
{
  "hex": "#7d901d",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 69.913,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.13493,
    "h": 119
  },
  "luminance": 0.24395
}

Semantic roles & 50–950 ramp

primary
#7D901D
secondary
#5E4BBD
accent
#3EE95B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D901D

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

Preview Lab → · Contrast checker → · Palette generator →

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