#7D9017#7D9017

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

Color values

HEX#7D9017
RGBrgb(125, 144, 23)
HSLhsl(69, 72%, 33%)
HSVhsv(69, 84%, 56%)
CMYKcmyk(13.2%, 0%, 84%, 43.5%)
CIE-LABlab(56.45, -22.09, 55.60)
CIE-LCHlch(56.45, 59.82, 111.67°)
OKLaboklab(61.71% -0.0666 0.1206)
OKLCHoklch(61.71% 0.138 118.9)
XYZxyz(18.5858, 24.3685, 4.5349)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9017 #2A1790
analogous
#906617 #7D9017 #419017
triadic
#7D9017 #177D90 #90177D
tetradic
#7D9017 #179066 #2A1790 #901741
square
#7D9017 #179066 #2A1790 #901741
split-complementary
#7D9017 #174190 #661790
monochromatic
#212606 #4F5B0F #7D9017 #ABC51F #C8E141

Accessibility & contrast

On white

3.58
#7D9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7D9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9017
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9017#FFFFFF#000000##000000
##7D90171.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9017;
/* rgb */ color: rgb(125, 144, 23);
/* oklch */ color: oklch(61.7% 0.138 118.9);
Tailwind
colors: {
  custom: {
    50: '#a6b061',
    500: '#7d9017',
    950: '#000000',
  },
}
SCSS
$custom: #7d9017;
$custom-light: #a6b061;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9017",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 69.421,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.13772,
    "h": 118.9
  },
  "luminance": 0.24368
}

Semantic roles & 50–950 ramp

primary
#7D9017
secondary
#5642C1
accent
#39EF55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7D9017

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

Preview Lab → · Contrast checker → · Palette generator →

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