#7A8011#7A8011

#7A8011 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.123 H 113.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7A8011
RGBrgb(122, 128, 17)
HSLhsl(63, 77%, 28%)
HSVhsv(63, 87%, 50%)
CMYKcmyk(4.7%, 0%, 86.7%, 49.8%)
CIE-LABlab(51.40, -15.33, 52.73)
CIE-LCHlch(51.40, 54.91, 106.21°)
OKLaboklab(57.58% -0.0482 0.1134)
OKLCHoklch(57.58% 0.123 113)
XYZxyz(15.8469, 19.6168, 3.4818)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8011 #171180
analogous
#804E11 #7A8011 #428011
triadic
#7A8011 #117A80 #80117A
tetradic
#7A8011 #11804E #171180 #801142
square
#7A8011 #11804E #171180 #801142
split-complementary
#7A8011 #114280 #4E1180
monochromatic
#1A1B04 #474A0A #7A8011 #ADB618 #D9E329

Accessibility & contrast

On white

4.27
#7A8011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7A8011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8011
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8011#FFFFFF#000000##000000
##7A80111.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7C1D
Tritanopia (blue-blind)
#83786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a8011;
/* rgb */ color: rgb(122, 128, 17);
/* oklch */ color: oklch(57.6% 0.123 113.0);
Tailwind
colors: {
  custom: {
    50: '#a4a45d',
    500: '#7a8011',
    950: '#000000',
  },
}
SCSS
$custom: #7a8011;
$custom-light: #a4a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8011",
  "rgb": {
    "r": 122,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 63.243,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.12327,
    "h": 113
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#7A8011
secondary
#3E37B6
accent
#35F33F
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7A8011

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

Preview Lab → · Contrast checker → · Palette generator →

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