#798024#798024

#798024 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.113 H 113.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#798024
RGBrgb(121, 128, 36)
HSLhsl(65, 56%, 32%)
HSVhsv(65, 72%, 50%)
CMYKcmyk(5.5%, 0%, 71.9%, 49.8%)
CIE-LABlab(51.42, -14.96, 46.48)
CIE-LCHlch(51.42, 48.83, 107.84°)
OKLaboklab(57.61% -0.0455 0.1037)
OKLCHoklch(57.61% 0.113 113.7)
XYZxyz(15.9232, 19.6310, 4.6191)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798024 #2B2480
analogous
#805924 #798024 #4B8024
triadic
#798024 #247980 #802479
tetradic
#798024 #248059 #2B2480 #80244B
square
#798024 #248059 #2B2480 #80244B
split-complementary
#798024 #244B80 #592480
monochromatic
#1F2009 #4C5017 #798024 #A6B031 #C4CE50

Accessibility & contrast

On white

4.26
#798024 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#798024 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798024
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798024#FFFFFF#000000##000000
##7980241.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A15
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#81786E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #798024;
/* rgb */ color: rgb(121, 128, 36);
/* oklch */ color: oklch(57.6% 0.113 113.7);
Tailwind
colors: {
  custom: {
    50: '#a2a465',
    500: '#798024',
    950: '#000000',
  },
}
SCSS
$custom: #798024;
$custom-light: #a2a465;
$custom-dark: #000000;
JSON
{
  "hex": "#798024",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 36
  },
  "hsl": {
    "h": 64.565,
    "s": 56.098,
    "l": 32.157
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.11329,
    "h": 113.7
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

primary
#798024
secondary
#564EB2
accent
#48DF54
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798024

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

Preview Lab → · Contrast checker → · Palette generator →

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