#7D9011#7D9011

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

Color values

HEX#7D9011
RGBrgb(125, 144, 17)
HSLhsl(69, 79%, 32%)
HSVhsv(69, 88%, 56%)
CMYKcmyk(13.2%, 0%, 88.2%, 43.5%)
CIE-LABlab(56.43, -22.28, 57.02)
CIE-LCHlch(56.43, 61.22, 111.34°)
OKLaboklab(61.69% -0.0675 0.1227)
OKLCHoklch(61.69% 0.14 118.8)
XYZxyz(18.5323, 24.3471, 4.2534)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9011 #241190
analogous
#906411 #7D9011 #3E9011
triadic
#7D9011 #117D90 #90117D
tetradic
#7D9011 #119064 #241190 #90113E
square
#7D9011 #119064 #241190 #90113E
split-complementary
#7D9011 #113E90 #641190
monochromatic
#1E2304 #4D590B #7D9011 #ADC717 #CCE734

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9011#FFFFFF#000000##000000
##7D90111.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)
#988821
Tritanopia (blue-blind)
#85887A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7d9011;
/* rgb */ color: rgb(125, 144, 17);
/* oklch */ color: oklch(61.7% 0.140 118.8);
Tailwind
colors: {
  custom: {
    50: '#a6b05f',
    500: '#7d9011',
    950: '#000000',
  },
}
SCSS
$custom: #7d9011;
$custom-light: #a6b05f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9011",
  "rgb": {
    "r": 125,
    "g": 144,
    "b": 17
  },
  "hsl": {
    "h": 68.976,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.61685,
    "c": 0.13998,
    "h": 118.8
  },
  "luminance": 0.24347
}

Semantic roles & 50–950 ramp

primary
#7D9011
secondary
#4D39C4
accent
#32F550
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #7D9011

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

Preview Lab → · Contrast checker → · Palette generator →

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