#798530#798530

#798530 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 58.9% C 0.110 H 116.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#798530
RGBrgb(121, 133, 48)
HSLhsl(68, 47%, 35%)
HSVhsv(68, 64%, 52%)
CMYKcmyk(9%, 0%, 63.9%, 47.8%)
CIE-LABlab(53.01, -16.81, 42.98)
CIE-LCHlch(53.01, 46.15, 111.36°)
OKLaboklab(58.91% -0.0494 0.0983)
OKLCHoklch(58.91% 0.11 116.7)
XYZxyz(16.8065, 21.0536, 5.9741)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798530 #3C3085
analogous
#856630 #798530 #4E8530
triadic
#798530 #307985 #853079
tetradic
#798530 #308566 #3C3085 #85304E
square
#798530 #308566 #3C3085 #85304E
split-complementary
#798530 #304E85 #663085
monochromatic
#272B10 #505820 #798530 #A2B240 #BBC867

Accessibility & contrast

On white

4.03
#798530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#798530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798530
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798530#FFFFFF#000000##000000
##7985301.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E26
Deuteranopia (green-blind)
#8D7F36
Tritanopia (blue-blind)
#807E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798530;
/* rgb */ color: rgb(121, 133, 48);
/* oklch */ color: oklch(58.9% 0.110 116.7);
Tailwind
colors: {
  custom: {
    50: '#a2a86c',
    500: '#798530',
    950: '#000000',
  },
}
SCSS
$custom: #798530;
$custom-light: #a2a86c;
$custom-dark: #000000;
JSON
{
  "hex": "#798530",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 68.471,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58911,
    "c": 0.11002,
    "h": 116.7
  },
  "luminance": 0.21053
}

Semantic roles & 50–950 ramp

primary
#798530
secondary
#6C61AF
accent
#51D764
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798530

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

Preview Lab → · Contrast checker → · Palette generator →

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