#798110#798110

#798110 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.7% C 0.125 H 114.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#798110
RGBrgb(121, 129, 16)
HSLhsl(64, 78%, 28%)
HSVhsv(64, 88%, 51%)
CMYKcmyk(6.2%, 0%, 87.6%, 49.4%)
CIE-LABlab(51.61, -16.35, 53.11)
CIE-LCHlch(51.61, 55.57, 107.11°)
OKLaboklab(57.73% -0.0511 0.1142)
OKLCHoklch(57.73% 0.125 114.1)
XYZxyz(15.8295, 19.8032, 3.4786)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798110 #181081
analogous
#815010 #798110 #408110
triadic
#798110 #107981 #811079
tetradic
#798110 #108150 #181081 #811040
square
#798110 #108150 #181081 #811040
split-complementary
#798110 #104081 #501081
monochromatic
#1A1B03 #464B09 #798110 #ACB717 #D7E427

Accessibility & contrast

On white

4.23
#798110 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#798110 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798110
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798110#FFFFFF#000000##000000
##7981101.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798110;
/* rgb */ color: rgb(121, 129, 16);
/* oklch */ color: oklch(57.7% 0.125 114.1);
Tailwind
colors: {
  custom: {
    50: '#a3a55d',
    500: '#798110',
    950: '#000000',
  },
}
SCSS
$custom: #798110;
$custom-light: #a3a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#798110",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 64.248,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.12506,
    "h": 114.1
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#798110
secondary
#3F36B7
accent
#33F441
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #798110

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

Preview Lab → · Contrast checker → · Palette generator →

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