#798537#798537

#798537 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.0% C 0.104 H 117.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#798537
RGBrgb(121, 133, 55)
HSLhsl(69, 41%, 37%)
HSVhsv(69, 59%, 52%)
CMYKcmyk(9%, 0%, 58.6%, 47.8%)
CIE-LABlab(53.08, -16.24, 39.76)
CIE-LCHlch(53.08, 42.95, 112.21°)
OKLaboklab(58.99% -0.0471 0.0924)
OKLCHoklch(58.99% 0.104 117)
XYZxyz(16.9626, 21.1160, 6.7959)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798537 #433785
analogous
#856A37 #798537 #528537
triadic
#798537 #377985 #853779
tetradic
#798537 #37856A #433785 #853752
square
#798537 #37856A #433785 #853752
split-complementary
#798537 #375285 #6A3785
monochromatic
#2A2E13 #525A25 #798537 #A0B049 #B8C572

Accessibility & contrast

On white

4.02
#798537 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#798537 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798537
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798537#FFFFFF#000000##000000
##7985371.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2F
Deuteranopia (green-blind)
#8C7F3C
Tritanopia (blue-blind)
#807E74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798537;
/* rgb */ color: rgb(121, 133, 55);
/* oklch */ color: oklch(59.0% 0.104 117.0);
Tailwind
colors: {
  custom: {
    50: '#a2a871',
    500: '#798537',
    950: '#000000',
  },
}
SCSS
$custom: #798537;
$custom-light: #a2a871;
$custom-dark: #000000;
JSON
{
  "hex": "#798537",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 55
  },
  "hsl": {
    "h": 69.231,
    "s": 41.489,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58987,
    "c": 0.10368,
    "h": 117
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#798537
secondary
#756AAD
accent
#56D169
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #798537

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

Preview Lab → · Contrast checker → · Palette generator →

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