#798724#798724

#798724 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.122 H 117.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#798724
RGBrgb(121, 135, 36)
HSLhsl(68, 58%, 34%)
HSVhsv(68, 73%, 53%)
CMYKcmyk(10.4%, 0%, 73.3%, 47.1%)
CIE-LABlab(53.51, -18.65, 48.55)
CIE-LCHlch(53.51, 52.01, 111.01°)
OKLaboklab(59.29% -0.0558 0.1081)
OKLCHoklch(59.29% 0.122 117.3)
XYZxyz(16.8680, 21.5205, 4.9340)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798724 #322487
analogous
#876324 #798724 #478724
triadic
#798724 #247987 #872479
tetradic
#798724 #248763 #322487 #872447
square
#798724 #248763 #322487 #872447
split-complementary
#798724 #244787 #632487
monochromatic
#22260A #4E5717 #798724 #A4B731 #C0D154

Accessibility & contrast

On white

3.96
#798724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#798724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798724
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798724#FFFFFF#000000##000000
##7987241.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908012
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#817F74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798724;
/* rgb */ color: rgb(121, 135, 36);
/* oklch */ color: oklch(59.3% 0.122 117.3);
Tailwind
colors: {
  custom: {
    50: '#a3a966',
    500: '#798724',
    950: '#000000',
  },
}
SCSS
$custom: #798724;
$custom-light: #a3a966;
$custom-dark: #000000;
JSON
{
  "hex": "#798724",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 68.485,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59287,
    "c": 0.12164,
    "h": 117.3
  },
  "luminance": 0.2152
}

Semantic roles & 50–950 ramp

primary
#798724
secondary
#5F51B5
accent
#47E15D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798724

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

Preview Lab → · Contrast checker → · Palette generator →

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