#798319#798319

#798319 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.123 H 115.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#798319
RGBrgb(121, 131, 25)
HSLhsl(66, 68%, 31%)
HSVhsv(66, 81%, 51%)
CMYKcmyk(7.6%, 0%, 80.9%, 48.6%)
CIE-LABlab(52.25, -17.09, 51.20)
CIE-LCHlch(52.25, 53.97, 108.46°)
OKLaboklab(58.25% -0.0525 0.1117)
OKLCHoklch(58.25% 0.123 115.2)
XYZxyz(16.1774, 20.3680, 3.9987)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798319 #231983
analogous
#835819 #798319 #448319
triadic
#798319 #197983 #831979
tetradic
#798319 #198358 #231983 #831944
square
#798319 #198358 #231983 #831944
split-complementary
#798319 #194483 #581983
monochromatic
#1A1C05 #4A500F #798319 #A8B623 #CBDA3D

Accessibility & contrast

On white

4.14
#798319 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#798319 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798319
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798319#FFFFFF#000000##000000
##7983191.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798319;
/* rgb */ color: rgb(121, 131, 25);
/* oklch */ color: oklch(58.3% 0.123 115.2);
Tailwind
colors: {
  custom: {
    50: '#a3a660',
    500: '#798319',
    950: '#000000',
  },
}
SCSS
$custom: #798319;
$custom-light: #a3a660;
$custom-dark: #000000;
JSON
{
  "hex": "#798319",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 25
  },
  "hsl": {
    "h": 65.66,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.12338,
    "h": 115.2
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#798319
secondary
#4C41B7
accent
#3DEB4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F05
muted
#7F7F7A

Preview Lab

Preview with #798319

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

Preview Lab → · Contrast checker → · Palette generator →

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