#798120#798120

#798120 is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.117 H 114.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#798120
RGBrgb(121, 129, 32)
HSLhsl(65, 60%, 32%)
HSVhsv(65, 75%, 51%)
CMYKcmyk(6.2%, 0%, 75.2%, 49.4%)
CIE-LABlab(51.69, -15.71, 48.29)
CIE-LCHlch(51.69, 50.78, 108.02°)
OKLaboklab(57.82% -0.048 0.1068)
OKLCHoklch(57.82% 0.117 114.2)
XYZxyz(15.9966, 19.8701, 4.3588)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798120 #282081
analogous
#815920 #798120 #498120
triadic
#798120 #207981 #812079
tetradic
#798120 #208159 #282081 #812049
square
#798120 #208159 #282081 #812049
split-complementary
#798120 #204981 #592081
monochromatic
#1D1F08 #4B5014 #798120 #A7B22C #C7D249

Accessibility & contrast

On white

4.22
#798120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#798120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798120
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798120#FFFFFF#000000##000000
##7981201.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0D
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#81796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #798120;
/* rgb */ color: rgb(121, 129, 32);
/* oklch */ color: oklch(57.8% 0.117 114.2);
Tailwind
colors: {
  custom: {
    50: '#a3a563',
    500: '#798120',
    950: '#000000',
  },
}
SCSS
$custom: #798120;
$custom-light: #a3a563;
$custom-dark: #000000;
JSON
{
  "hex": "#798120",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 64.948,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57815,
    "c": 0.11711,
    "h": 114.2
  },
  "luminance": 0.1987
}

Semantic roles & 50–950 ramp

primary
#798120
secondary
#5249B4
accent
#44E352
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798120

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

Preview Lab → · Contrast checker → · Palette generator →

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