#7D901C#7D901C

#7D901C 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#7D901C
RGBrgb(125, 144, 28)
HSLhsl(70, 67%, 34%)
HSVhsv(70, 81%, 56%)
CMYKcmyk(13.2%, 0%, 80.6%, 43.5%)
CIE-LABlab(56.48, -21.90, 54.19)
CIE-LCHlch(56.48, 58.45, 112.01°)
OKLaboklab(61.73% -0.0657 0.1184)
OKLCHoklch(61.73% 0.135 119)
XYZxyz(18.6407, 24.3905, 4.8242)
Luminance0.2439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D901C #2F1C90
analogous
#90691C #7D901C #43901C
triadic
#7D901C #1C7D90 #901C7D
tetradic
#7D901C #1C9069 #2F1C90 #901C43
square
#7D901C #1C9069 #2F1C90 #901C43
split-complementary
#7D901C #1C4390 #691C90
monochromatic
#242A08 #515D12 #7D901C #A9C326 #C4DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D901C#FFFFFF#000000##000000
##7D901C1.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: #7d901c;
/* rgb */ color: rgb(125, 144, 28);
/* oklch */ color: oklch(61.7% 0.135 119.0);
Tailwind
colors: {
  custom: {
    50: '#a6b063',
    500: '#7d901c',
    950: '#000000',
  },
}
SCSS
$custom: #7d901c;
$custom-light: #a6b063;
$custom-dark: #000000;
JSON
{
  "hex": "#7d901c",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 69.828,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.13543,
    "h": 119
  },
  "luminance": 0.2439
}

Semantic roles & 50–950 ramp

primary
#7D901C
secondary
#5D4ABE
accent
#3DEA5A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D901C

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

Preview Lab → · Contrast checker → · Palette generator →

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