#798011#798011

#798011 is a mid, vivid yellow. Relative luminance 0.195; OKLCH L 57.5% C 0.124 H 113.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#798011
RGBrgb(121, 128, 17)
HSLhsl(64, 77%, 28%)
HSVhsv(64, 87%, 50%)
CMYKcmyk(5.5%, 0%, 86.7%, 49.8%)
CIE-LABlab(51.32, -15.79, 52.62)
CIE-LCHlch(51.32, 54.94, 106.70°)
OKLaboklab(57.49% -0.0495 0.1133)
OKLCHoklch(57.49% 0.124 113.6)
XYZxyz(15.7060, 19.5441, 3.4752)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798011 #181180
analogous
#804F11 #798011 #418011
triadic
#798011 #117980 #801179
tetradic
#798011 #11804F #181180 #801141
square
#798011 #11804F #181180 #801141
split-complementary
#798011 #114180 #4F1180
monochromatic
#1A1B04 #464A0A #798011 #ACB618 #D7E329

Accessibility & contrast

On white

4.28
#798011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#798011 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798011
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798011#FFFFFF#000000##000000
##7980111.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798011;
/* rgb */ color: rgb(121, 128, 17);
/* oklch */ color: oklch(57.5% 0.124 113.6);
Tailwind
colors: {
  custom: {
    50: '#a3a45d',
    500: '#798011',
    950: '#000000',
  },
}
SCSS
$custom: #798011;
$custom-light: #a3a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#798011",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 63.784,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.57493,
    "c": 0.12359,
    "h": 113.6
  },
  "luminance": 0.19544
}

Semantic roles & 50–950 ramp

primary
#798011
secondary
#3F37B6
accent
#35F341
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #798011

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

Preview Lab → · Contrast checker → · Palette generator →

#798011 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva