#798824#798824

#798824 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.5% C 0.123 H 117.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#798824
RGBrgb(121, 136, 36)
HSLhsl(69, 58%, 34%)
HSVhsv(69, 74%, 53%)
CMYKcmyk(11%, 0%, 73.5%, 46.7%)
CIE-LABlab(53.81, -19.17, 48.84)
CIE-LCHlch(53.81, 52.47, 111.43°)
OKLaboklab(59.53% -0.0572 0.1087)
OKLCHoklch(59.53% 0.123 117.8)
XYZxyz(17.0081, 21.8008, 4.9807)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798824 #332488
analogous
#886524 #798824 #478824
triadic
#798824 #247988 #882479
tetradic
#798824 #248865 #332488 #882447
square
#798824 #248865 #332488 #882447
split-complementary
#798824 #244788 #652488
monochromatic
#23270A #4E5817 #798824 #A4B831 #BFD255

Accessibility & contrast

On white

3.92
#798824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#798824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798824
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798824#FFFFFF#000000##000000
##7988241.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918012
Deuteranopia (green-blind)
#90812C
Tritanopia (blue-blind)
#818075
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798824;
/* rgb */ color: rgb(121, 136, 36);
/* oklch */ color: oklch(59.5% 0.123 117.8);
Tailwind
colors: {
  custom: {
    50: '#a3aa66',
    500: '#798824',
    950: '#000000',
  },
}
SCSS
$custom: #798824;
$custom-light: #a3aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#798824",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 36
  },
  "hsl": {
    "h": 69,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.12285,
    "h": 117.8
  },
  "luminance": 0.21801
}

Semantic roles & 50–950 ramp

primary
#798824
secondary
#6152B6
accent
#46E15E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798824

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

Preview Lab → · Contrast checker → · Palette generator →

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