#798919#798919

#798919 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.7% C 0.130 H 117.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#798919
RGBrgb(121, 137, 25)
HSLhsl(69, 69%, 32%)
HSVhsv(69, 82%, 54%)
CMYKcmyk(11.7%, 0%, 81.8%, 46.3%)
CIE-LABlab(54.06, -20.21, 52.81)
CIE-LCHlch(54.06, 56.54, 110.94°)
OKLaboklab(59.7% -0.0611 0.1151)
OKLCHoklch(59.7% 0.13 117.9)
XYZxyz(17.0067, 22.0266, 4.2752)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798919 #291989
analogous
#896119 #798919 #418919
triadic
#798919 #197989 #891979
tetradic
#798919 #198961 #291989 #891941
square
#798919 #198961 #291989 #891941
split-complementary
#798919 #194189 #611989
monochromatic
#1E2106 #4B5510 #798919 #A7BD22 #C6DC40

Accessibility & contrast

On white

3.89
#798919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#798919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798919
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798919#FFFFFF#000000##000000
##7989191.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#818175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798919;
/* rgb */ color: rgb(121, 137, 25);
/* oklch */ color: oklch(59.7% 0.130 117.9);
Tailwind
colors: {
  custom: {
    50: '#a3ab61',
    500: '#798919',
    950: '#000000',
  },
}
SCSS
$custom: #798919;
$custom-light: #a3ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#798919",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 68.571,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.59703,
    "c": 0.1303,
    "h": 117.9
  },
  "luminance": 0.22026
}

Semantic roles & 50–950 ramp

primary
#798919
secondary
#5341BC
accent
#3CEC55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #798919

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

Preview Lab → · Contrast checker → · Palette generator →

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