#798719#798719

#798719 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.2% C 0.128 H 117.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#798719
RGBrgb(121, 135, 25)
HSLhsl(68, 69%, 31%)
HSVhsv(68, 81%, 53%)
CMYKcmyk(10.4%, 0%, 81.5%, 47.1%)
CIE-LABlab(53.45, -19.18, 52.27)
CIE-LCHlch(53.45, 55.68, 110.15°)
OKLaboklab(59.22% -0.0582 0.114)
OKLCHoklch(59.22% 0.128 117.1)
XYZxyz(16.7250, 21.4633, 4.1813)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798719 #271987
analogous
#875E19 #798719 #428719
triadic
#798719 #197987 #871979
tetradic
#798719 #19875E #271987 #871942
square
#798719 #19875E #271987 #871942
split-complementary
#798719 #194287 #5E1987
monochromatic
#1C2006 #4B530F #798719 #A7BB23 #C8DB3F

Accessibility & contrast

On white

3.97
#798719 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#798719 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798719
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798719#FFFFFF#000000##000000
##7987191.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#8F8024
Tritanopia (blue-blind)
#817F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798719;
/* rgb */ color: rgb(121, 135, 25);
/* oklch */ color: oklch(59.2% 0.128 117.1);
Tailwind
colors: {
  custom: {
    50: '#a3a961',
    500: '#798719',
    950: '#000000',
  },
}
SCSS
$custom: #798719;
$custom-light: #a3a961;
$custom-dark: #000000;
JSON
{
  "hex": "#798719",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 25
  },
  "hsl": {
    "h": 67.636,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59218,
    "c": 0.12797,
    "h": 117.1
  },
  "luminance": 0.21463
}

Semantic roles & 50–950 ramp

primary
#798719
secondary
#5141BA
accent
#3CEC53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #798719

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

Preview Lab → · Contrast checker → · Palette generator →

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