#798219#798219

#798219 is a mid, vivid yellow. Relative luminance 0.201; OKLCH L 58.0% C 0.122 H 114.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#798219
RGBrgb(121, 130, 25)
HSLhsl(65, 68%, 30%)
HSVhsv(65, 81%, 51%)
CMYKcmyk(6.9%, 0%, 80.8%, 49%)
CIE-LABlab(51.95, -16.56, 50.93)
CIE-LCHlch(51.95, 53.55, 108.02°)
OKLaboklab(58.01% -0.051 0.1111)
OKLCHoklch(58.01% 0.122 114.7)
XYZxyz(16.0437, 20.1007, 3.9542)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798219 #221982
analogous
#825619 #798219 #448219
triadic
#798219 #197982 #821979
tetradic
#798219 #198256 #221982 #821944
square
#798219 #198256 #221982 #821944
split-complementary
#798219 #194482 #561982
monochromatic
#191B05 #494F0F #798219 #A9B523 #CCD93C

Accessibility & contrast

On white

4.18
#798219 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#798219 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798219
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798219#FFFFFF#000000##000000
##7982191.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#817A6F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #798219;
/* rgb */ color: rgb(121, 130, 25);
/* oklch */ color: oklch(58.0% 0.122 114.7);
Tailwind
colors: {
  custom: {
    50: '#a3a660',
    500: '#798219',
    950: '#000000',
  },
}
SCSS
$custom: #798219;
$custom-light: #a3a660;
$custom-dark: #000000;
JSON
{
  "hex": "#798219",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 25
  },
  "hsl": {
    "h": 65.143,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58012,
    "c": 0.12224,
    "h": 114.7
  },
  "luminance": 0.201
}

Semantic roles & 50–950 ramp

primary
#798219
secondary
#4B41B6
accent
#3DEB4C
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #798219

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

Preview Lab → · Contrast checker → · Palette generator →

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