#798325#798325

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

Color values

HEX#798325
RGBrgb(121, 131, 37)
HSLhsl(66, 56%, 33%)
HSVhsv(66, 72%, 51%)
CMYKcmyk(7.6%, 0%, 71.8%, 48.6%)
CIE-LABlab(52.32, -16.49, 46.98)
CIE-LCHlch(52.32, 49.79, 109.34°)
OKLaboklab(58.33% -0.0497 0.105)
OKLCHoklch(58.33% 0.116 115.3)
XYZxyz(16.3358, 20.4314, 4.8330)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798325 #2F2583
analogous
#835E25 #798325 #4A8325
triadic
#798325 #257983 #832579
tetradic
#798325 #25835E #2F2583 #83254A
square
#798325 #25835E #2F2583 #83254A
split-complementary
#798325 #254A83 #5E2583
monochromatic
#21240A #4D5318 #798325 #A5B332 #C2CF54

Accessibility & contrast

On white

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

On black

5.09
#798325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798325
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798325#FFFFFF#000000##000000
##7983251.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #798325;
/* rgb */ color: rgb(121, 131, 37);
/* oklch */ color: oklch(58.3% 0.116 115.3);
Tailwind
colors: {
  custom: {
    50: '#a2a666',
    500: '#798325',
    950: '#000000',
  },
}
SCSS
$custom: #798325;
$custom-light: #a2a666;
$custom-dark: #000000;
JSON
{
  "hex": "#798325",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 37
  },
  "hsl": {
    "h": 66.383,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.11614,
    "h": 115.3
  },
  "luminance": 0.20431
}

Semantic roles & 50–950 ramp

primary
#798325
secondary
#5B51B3
accent
#49DF59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798325

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

Preview Lab → · Contrast checker → · Palette generator →

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