#798337#798337

#798337 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.101 H 115.9°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#798337
RGBrgb(121, 131, 55)
HSLhsl(68, 41%, 36%)
HSVhsv(68, 58%, 51%)
CMYKcmyk(7.6%, 0%, 58%, 48.6%)
CIE-LABlab(52.48, -15.17, 39.09)
CIE-LCHlch(52.48, 41.93, 111.22°)
OKLaboklab(58.51% -0.0441 0.0909)
OKLCHoklch(58.51% 0.101 115.9)
XYZxyz(16.6913, 20.5736, 6.7055)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798337 #413783
analogous
#836737 #798337 #538337
triadic
#798337 #377983 #833779
tetradic
#798337 #378367 #413783 #833753
square
#798337 #378367 #413783 #833753
split-complementary
#798337 #375383 #673783
monochromatic
#292D13 #515825 #798337 #A1AE49 #B9C371

Accessibility & contrast

On white

4.11
#798337 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#798337 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798337
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798337#FFFFFF#000000##000000
##7983371.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D2F
Deuteranopia (green-blind)
#8B7E3C
Tritanopia (blue-blind)
#807C72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798337;
/* rgb */ color: rgb(121, 131, 55);
/* oklch */ color: oklch(58.5% 0.101 115.9);
Tailwind
colors: {
  custom: {
    50: '#a2a771',
    500: '#798337',
    950: '#000000',
  },
}
SCSS
$custom: #798337;
$custom-light: #a2a771;
$custom-dark: #000000;
JSON
{
  "hex": "#798337",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 67.895,
    "s": 40.86,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.10105,
    "h": 115.9
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#798337
secondary
#726AAC
accent
#57D167
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #798337

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

Preview Lab → · Contrast checker → · Palette generator →

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