#798616#798616

#798616 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.128 H 116.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#798616
RGBrgb(121, 134, 22)
HSLhsl(67, 72%, 31%)
HSVhsv(67, 84%, 53%)
CMYKcmyk(9.7%, 0%, 83.6%, 47.5%)
CIE-LABlab(53.14, -18.78, 52.87)
CIE-LCHlch(53.14, 56.10, 109.55°)
OKLaboklab(58.96% -0.0573 0.1147)
OKLCHoklch(58.96% 0.128 116.6)
XYZxyz(16.5555, 21.1733, 3.9736)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798616 #231686
analogous
#865B16 #798616 #418616
triadic
#798616 #167986 #861679
tetradic
#798616 #16865B #231686 #861641
square
#798616 #16865B #231686 #861641
split-complementary
#798616 #164186 #5B1686
monochromatic
#1A1D05 #4A510D #798616 #A8BB1F #CBDE38

Accessibility & contrast

On white

4.01
#798616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#798616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798616
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798616#FFFFFF#000000##000000
##7986161.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#817E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798616;
/* rgb */ color: rgb(121, 134, 22);
/* oklch */ color: oklch(59.0% 0.128 116.6);
Tailwind
colors: {
  custom: {
    50: '#a3a95f',
    500: '#798616',
    950: '#000000',
  },
}
SCSS
$custom: #798616;
$custom-light: #a3a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#798616",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 66.964,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.12822,
    "h": 116.6
  },
  "luminance": 0.21173
}

Semantic roles & 50–950 ramp

primary
#798616
secondary
#4C3EBA
accent
#39EF4E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #798616

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

Preview Lab → · Contrast checker → · Palette generator →

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