#7D8011#7D8011

#7D8011 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.122 H 111.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7D8011
RGBrgb(125, 128, 17)
HSLhsl(62, 77%, 28%)
HSVhsv(62, 87%, 50%)
CMYKcmyk(2.3%, 0%, 86.7%, 49.8%)
CIE-LABlab(51.65, -13.95, 53.04)
CIE-LCHlch(51.65, 54.85, 104.73°)
OKLaboklab(57.85% -0.0446 0.114)
OKLCHoklch(57.85% 0.122 111.4)
XYZxyz(16.2784, 19.8392, 3.5021)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8011 #141180
analogous
#804B11 #7D8011 #458011
triadic
#7D8011 #117D80 #80117D
tetradic
#7D8011 #11804B #141180 #801145
square
#7D8011 #11804B #141180 #801145
split-complementary
#7D8011 #114580 #4B1180
monochromatic
#1A1B04 #484A0A #7D8011 #B2B618 #DEE329

Accessibility & contrast

On white

4.23
#7D8011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7D8011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8011
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8011#FFFFFF#000000##000000
##7D80111.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C1D
Tritanopia (blue-blind)
#86776D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d8011;
/* rgb */ color: rgb(125, 128, 17);
/* oklch */ color: oklch(57.8% 0.122 111.4);
Tailwind
colors: {
  custom: {
    50: '#a6a45d',
    500: '#7d8011',
    950: '#000000',
  },
}
SCSS
$custom: #7d8011;
$custom-light: #a6a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8011",
  "rgb": {
    "r": 125,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 61.622,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.12239,
    "h": 111.4
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#7D8011
secondary
#3A37B6
accent
#35F33A
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7D8011

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

Preview Lab → · Contrast checker → · Palette generator →

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