#798624#798624

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

Color values

HEX#798624
RGBrgb(121, 134, 36)
HSLhsl(68, 58%, 33%)
HSVhsv(68, 73%, 53%)
CMYKcmyk(9.7%, 0%, 73.1%, 47.5%)
CIE-LABlab(53.21, -18.13, 48.26)
CIE-LCHlch(53.21, 51.55, 110.59°)
OKLaboklab(59.05% -0.0544 0.1075)
OKLCHoklch(59.05% 0.12 116.8)
XYZxyz(16.7291, 21.2427, 4.8877)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798624 #312486
analogous
#866224 #798624 #488624
triadic
#798624 #247986 #862479
tetradic
#798624 #248662 #312486 #862448
square
#798624 #248662 #312486 #862448
split-complementary
#798624 #244886 #622486
monochromatic
#22260A #4D5617 #798624 #A5B631 #C0D153

Accessibility & contrast

On white

4.00
#798624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#798624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798624
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798624#FFFFFF#000000##000000
##7986241.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F13
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#817E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798624;
/* rgb */ color: rgb(121, 134, 36);
/* oklch */ color: oklch(59.0% 0.120 116.8);
Tailwind
colors: {
  custom: {
    50: '#a3a966',
    500: '#798624',
    950: '#000000',
  },
}
SCSS
$custom: #798624;
$custom-light: #a3a966;
$custom-dark: #000000;
JSON
{
  "hex": "#798624",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 67.959,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.12043,
    "h": 116.8
  },
  "luminance": 0.21243
}

Semantic roles & 50–950 ramp

primary
#798624
secondary
#5E51B5
accent
#47E15B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798624

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

Preview Lab → · Contrast checker → · Palette generator →

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