#798030#798030

#798030 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.104 H 113.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#798030
RGBrgb(121, 128, 48)
HSLhsl(65, 45%, 35%)
HSVhsv(65, 63%, 50%)
CMYKcmyk(5.5%, 0%, 62.5%, 49.8%)
CIE-LABlab(51.52, -14.15, 41.37)
CIE-LCHlch(51.52, 43.72, 108.88°)
OKLaboklab(57.72% -0.042 0.0949)
OKLCHoklch(57.72% 0.104 113.9)
XYZxyz(16.1382, 19.7170, 5.7513)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798030 #373080
analogous
#805F30 #798030 #518030
triadic
#798030 #307980 #803079
tetradic
#798030 #30805F #373080 #803051
square
#798030 #30805F #373080 #803051
split-complementary
#798030 #305180 #5F3080
monochromatic
#25270F #4F531F #798030 #A3AD41 #BDC565

Accessibility & contrast

On white

4.25
#798030 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#798030 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798030
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798030#FFFFFF#000000##000000
##7980301.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A27
Deuteranopia (green-blind)
#897C35
Tritanopia (blue-blind)
#81796F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #798030;
/* rgb */ color: rgb(121, 128, 48);
/* oklch */ color: oklch(57.7% 0.104 113.9);
Tailwind
colors: {
  custom: {
    50: '#a2a46c',
    500: '#798030',
    950: '#000000',
  },
}
SCSS
$custom: #798030;
$custom-light: #a2a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#798030",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 48
  },
  "hsl": {
    "h": 65.25,
    "s": 45.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57715,
    "c": 0.10374,
    "h": 113.9
  },
  "luminance": 0.19717
}

Semantic roles & 50–950 ramp

primary
#798030
secondary
#665FAC
accent
#53D55E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798030

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

Preview Lab → · Contrast checker → · Palette generator →

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