#798441#798441

#798441 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.9% C 0.092 H 117.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#798441
RGBrgb(121, 132, 65)
HSLhsl(70, 34%, 39%)
HSVhsv(70, 51%, 52%)
CMYKcmyk(8.3%, 0%, 50.8%, 48.2%)
CIE-LABlab(52.89, -14.74, 34.52)
CIE-LCHlch(52.89, 37.53, 113.13°)
OKLaboklab(58.88% -0.0418 0.0821)
OKLCHoklch(58.88% 0.092 117)
XYZxyz(17.0908, 20.9493, 8.1433)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798441 #4C4184
analogous
#846D41 #798441 #578441
triadic
#798441 #417984 #844179
tetradic
#798441 #41846D #4C4184 #844157
square
#798441 #41846D #4C4184 #844157
split-complementary
#798441 #415784 #6D4184
monochromatic
#2E3219 #535B2D #798441 #9EAC56 #B5C07F

Accessibility & contrast

On white

4.05
#798441 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#798441 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798441
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798441#FFFFFF#000000##000000
##7984411.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E3B
Deuteranopia (green-blind)
#8B7F45
Tritanopia (blue-blind)
#7F7E75
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798441;
/* rgb */ color: rgb(121, 132, 65);
/* oklch */ color: oklch(58.9% 0.092 117.0);
Tailwind
colors: {
  custom: {
    50: '#a1a777',
    500: '#798441',
    950: '#000000',
  },
}
SCSS
$custom: #798441;
$custom-light: #a1a777;
$custom-dark: #000000;
JSON
{
  "hex": "#798441",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 65
  },
  "hsl": {
    "h": 69.851,
    "s": 34.01,
    "l": 38.627
  },
  "oklch": {
    "l": 0.58879,
    "c": 0.0921,
    "h": 117
  },
  "luminance": 0.20949
}

Semantic roles & 50–950 ramp

primary
#798441
secondary
#7F76AB
accent
#5ECA6F
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798441

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

Preview Lab → · Contrast checker → · Palette generator →

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