#798536#798536

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

Color values

HEX#798536
RGBrgb(121, 133, 54)
HSLhsl(69, 42%, 37%)
HSVhsv(69, 59%, 52%)
CMYKcmyk(9%, 0%, 59.4%, 47.8%)
CIE-LABlab(53.07, -16.32, 40.23)
CIE-LCHlch(53.07, 43.42, 112.08°)
OKLaboklab(58.98% -0.0474 0.0933)
OKLCHoklch(58.98% 0.105 117)
XYZxyz(16.9388, 21.1065, 6.6709)
Luminance0.2111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798536 #423685
analogous
#856A36 #798536 #528536
triadic
#798536 #367985 #853679
tetradic
#798536 #36856A #423685 #853652
square
#798536 #36856A #423685 #853652
split-complementary
#798536 #365285 #6A3685
monochromatic
#2A2E13 #515924 #798536 #A1B148 #B8C570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798536#FFFFFF#000000##000000
##7985361.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)
#8E7E2E
Deuteranopia (green-blind)
#8C7F3B
Tritanopia (blue-blind)
#807E74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798536;
/* rgb */ color: rgb(121, 133, 54);
/* oklch */ color: oklch(59.0% 0.105 117.0);
Tailwind
colors: {
  custom: {
    50: '#a2a870',
    500: '#798536',
    950: '#000000',
  },
}
SCSS
$custom: #798536;
$custom-light: #a2a870;
$custom-dark: #000000;
JSON
{
  "hex": "#798536",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 54
  },
  "hsl": {
    "h": 69.114,
    "s": 42.246,
    "l": 36.667
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.10463,
    "h": 117
  },
  "luminance": 0.21106
}

Semantic roles & 50–950 ramp

primary
#798536
secondary
#7469AE
accent
#56D269
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #798536

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

Preview Lab → · Contrast checker → · Palette generator →

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