#798424#798424

#798424 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.118 H 115.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#798424
RGBrgb(121, 132, 36)
HSLhsl(67, 57%, 33%)
HSVhsv(67, 73%, 52%)
CMYKcmyk(8.3%, 0%, 72.7%, 48.2%)
CIE-LABlab(52.61, -17.08, 47.67)
CIE-LCHlch(52.61, 50.63, 109.71°)
OKLaboklab(58.56% -0.0514 0.1062)
OKLCHoklch(58.56% 0.118 115.8)
XYZxyz(16.4553, 20.6951, 4.7964)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798424 #2F2484
analogous
#845F24 #798424 #498424
triadic
#798424 #247984 #842479
tetradic
#798424 #24845F #2F2484 #842449
square
#798424 #24845F #2F2484 #842449
split-complementary
#798424 #244984 #5F2484
monochromatic
#21240A #4D5417 #798424 #A5B431 #C2D052

Accessibility & contrast

On white

4.09
#798424 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#798424 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798424
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798424#FFFFFF#000000##000000
##7984241.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D13
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#817C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798424;
/* rgb */ color: rgb(121, 132, 36);
/* oklch */ color: oklch(58.6% 0.118 115.8);
Tailwind
colors: {
  custom: {
    50: '#a3a766',
    500: '#798424',
    950: '#000000',
  },
}
SCSS
$custom: #798424;
$custom-light: #a3a766;
$custom-dark: #000000;
JSON
{
  "hex": "#798424",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 66.875,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58564,
    "c": 0.11802,
    "h": 115.8
  },
  "luminance": 0.20695
}

Semantic roles & 50–950 ramp

primary
#798424
secondary
#5B50B4
accent
#47E059
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798424

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

Preview Lab → · Contrast checker → · Palette generator →

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