#798244#798244

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

Color values

HEX#798244
RGBrgb(121, 130, 68)
HSLhsl(69, 31%, 39%)
HSVhsv(69, 48%, 51%)
CMYKcmyk(6.9%, 0%, 47.7%, 49%)
CIE-LABlab(52.34, -13.34, 32.27)
CIE-LCHlch(52.34, 34.92, 112.47°)
OKLaboklab(58.45% -0.0376 0.0773)
OKLCHoklch(58.45% 0.086 115.9)
XYZxyz(16.9114, 20.4477, 8.5236)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798244 #4D4482
analogous
#826C44 #798244 #5A8244
triadic
#798244 #447982 #824479
tetradic
#798244 #44826C #4D4482 #82445A
square
#798244 #44826C #4D4482 #82445A
split-complementary
#798244 #445A82 #6C4482
monochromatic
#2E321A #545A2F #798244 #9DA95A #B5BE83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798244#FFFFFF#000000##000000
##7982441.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)
#8A7C3F
Deuteranopia (green-blind)
#897D47
Tritanopia (blue-blind)
#7F7C73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798244;
/* rgb */ color: rgb(121, 130, 68);
/* oklch */ color: oklch(58.4% 0.086 115.9);
Tailwind
colors: {
  custom: {
    50: '#a1a679',
    500: '#798244',
    950: '#000000',
  },
}
SCSS
$custom: #798244;
$custom-light: #a1a679;
$custom-dark: #000000;
JSON
{
  "hex": "#798244",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 68
  },
  "hsl": {
    "h": 68.71,
    "s": 31.313,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58448,
    "c": 0.08599,
    "h": 115.9
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#798244
secondary
#8079A9
accent
#60C86F
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798244

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

Preview Lab → · Contrast checker → · Palette generator →

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