#798924#798924

#798924 is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.8% C 0.124 H 118.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#798924
RGBrgb(121, 137, 36)
HSLhsl(70, 58%, 34%)
HSVhsv(70, 74%, 54%)
CMYKcmyk(11.7%, 0%, 73.7%, 46.3%)
CIE-LABlab(54.12, -19.69, 49.14)
CIE-LCHlch(54.12, 52.93, 111.83°)
OKLaboklab(59.77% -0.0587 0.1093)
OKLCHoklch(59.77% 0.124 118.2)
XYZxyz(17.1496, 22.0838, 5.0279)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798924 #342489
analogous
#896724 #798924 #478924
triadic
#798924 #247989 #892479
tetradic
#798924 #248967 #342489 #892447
square
#798924 #248967 #342489 #892447
split-complementary
#798924 #244789 #672489
monochromatic
#23280B #4E5917 #798924 #A4B931 #BED255

Accessibility & contrast

On white

3.88
#798924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#798924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798924
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798924#FFFFFF#000000##000000
##7989241.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928111
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#818175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798924;
/* rgb */ color: rgb(121, 137, 36);
/* oklch */ color: oklch(59.8% 0.124 118.2);
Tailwind
colors: {
  custom: {
    50: '#a3ab66',
    500: '#798924',
    950: '#000000',
  },
}
SCSS
$custom: #798924;
$custom-light: #a3ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#798924",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 69.505,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59771,
    "c": 0.12406,
    "h": 118.2
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#798924
secondary
#6252B7
accent
#46E25F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798924

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

Preview Lab → · Contrast checker → · Palette generator →

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