#798324#798324

#798324 is a mid, moderate yellow. Relative luminance 0.204; OKLCH L 58.3% C 0.117 H 115.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#798324
RGBrgb(121, 131, 36)
HSLhsl(66, 57%, 33%)
HSVhsv(66, 73%, 51%)
CMYKcmyk(7.6%, 0%, 72.5%, 48.6%)
CIE-LABlab(52.31, -16.55, 47.37)
CIE-LCHlch(52.31, 50.18, 109.26°)
OKLaboklab(58.32% -0.05 0.1056)
OKLCHoklch(58.32% 0.117 115.3)
XYZxyz(16.3203, 20.4252, 4.7514)
Luminance0.2042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798324 #2E2483
analogous
#835E24 #798324 #498324
triadic
#798324 #247983 #832479
tetradic
#798324 #24835E #2E2483 #832449
square
#798324 #24835E #2E2483 #832449
split-complementary
#798324 #244983 #5E2483
monochromatic
#20230A #4D5317 #798324 #A5B331 #C2CF52

Accessibility & contrast

On white

4.13
#798324 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#798324 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798324
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798324#FFFFFF#000000##000000
##7983241.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C14
Deuteranopia (green-blind)
#8C7E2B
Tritanopia (blue-blind)
#817B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798324;
/* rgb */ color: rgb(121, 131, 36);
/* oklch */ color: oklch(58.3% 0.117 115.3);
Tailwind
colors: {
  custom: {
    50: '#a2a665',
    500: '#798324',
    950: '#000000',
  },
}
SCSS
$custom: #798324;
$custom-light: #a2a665;
$custom-dark: #000000;
JSON
{
  "hex": "#798324",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 36
  },
  "hsl": {
    "h": 66.316,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58324,
    "c": 0.11683,
    "h": 115.3
  },
  "luminance": 0.20425
}

Semantic roles & 50–950 ramp

primary
#798324
secondary
#5A4FB3
accent
#48E058
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798324

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

Preview Lab → · Contrast checker → · Palette generator →

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