#798136#798136

#798136 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.0% C 0.099 H 114.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#798136
RGBrgb(121, 129, 54)
HSLhsl(66, 41%, 36%)
HSVhsv(66, 58%, 51%)
CMYKcmyk(6.2%, 0%, 58.1%, 49.4%)
CIE-LABlab(51.87, -14.19, 38.89)
CIE-LCHlch(51.87, 41.40, 110.05°)
OKLaboklab(58.02% -0.0414 0.0904)
OKLCHoklch(58.02% 0.099 114.6)
XYZxyz(16.4016, 20.0321, 6.4919)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798136 #3E3681
analogous
#816336 #798136 #538136
triadic
#798136 #367981 #813679
tetradic
#798136 #368163 #3E3681 #813653
square
#798136 #368163 #3E3681 #813653
split-complementary
#798136 #365381 #633681
monochromatic
#282B12 #515624 #798136 #A1AC48 #BAC36F

Accessibility & contrast

On white

4.19
#798136 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#798136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798136
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798136#FFFFFF#000000##000000
##7981361.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2E
Deuteranopia (green-blind)
#897C3A
Tritanopia (blue-blind)
#807A71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #798136;
/* rgb */ color: rgb(121, 129, 54);
/* oklch */ color: oklch(58.0% 0.099 114.6);
Tailwind
colors: {
  custom: {
    50: '#a2a570',
    500: '#798136',
    950: '#000000',
  },
}
SCSS
$custom: #798136;
$custom-light: #a2a570;
$custom-dark: #000000;
JSON
{
  "hex": "#798136",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 66.4,
    "s": 40.984,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5802,
    "c": 0.09942,
    "h": 114.6
  },
  "luminance": 0.20032
}

Semantic roles & 50–950 ramp

primary
#798136
secondary
#6F68AB
accent
#57D164
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #798136

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

Preview Lab → · Contrast checker → · Palette generator →

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