#798119#798119

#798119 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.8% C 0.121 H 114.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#798119
RGBrgb(121, 129, 25)
HSLhsl(65, 68%, 30%)
HSVhsv(65, 81%, 51%)
CMYKcmyk(6.2%, 0%, 80.6%, 49.4%)
CIE-LABlab(51.65, -16.03, 50.66)
CIE-LCHlch(51.65, 53.13, 107.56°)
OKLaboklab(57.77% -0.0496 0.1105)
OKLCHoklch(57.77% 0.121 114.2)
XYZxyz(15.9114, 19.8360, 3.9101)
Luminance0.1984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798119 #211981
analogous
#815519 #798119 #458119
triadic
#798119 #197981 #811979
tetradic
#798119 #198155 #211981 #811945
square
#798119 #198155 #211981 #811945
split-complementary
#798119 #194581 #551981
monochromatic
#191A05 #494E0F #798119 #A9B423 #CDD93B

Accessibility & contrast

On white

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

On black

4.97
#798119 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798119
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798119#FFFFFF#000000##000000
##7981191.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798119;
/* rgb */ color: rgb(121, 129, 25);
/* oklch */ color: oklch(57.8% 0.121 114.2);
Tailwind
colors: {
  custom: {
    50: '#a3a560',
    500: '#798119',
    950: '#000000',
  },
}
SCSS
$custom: #798119;
$custom-light: #a3a560;
$custom-dark: #000000;
JSON
{
  "hex": "#798119",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 25
  },
  "hsl": {
    "h": 64.615,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.57771,
    "c": 0.12111,
    "h": 114.2
  },
  "luminance": 0.19836
}

Semantic roles & 50–950 ramp

primary
#798119
secondary
#4A41B5
accent
#3DEA4B
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#0F0F05
muted
#7F7F79

Preview Lab

Preview with #798119

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

Preview Lab → · Contrast checker → · Palette generator →

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