#798139#798139

#798139 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.1% C 0.096 H 114.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#798139
RGBrgb(121, 129, 57)
HSLhsl(67, 39%, 36%)
HSVhsv(67, 56%, 51%)
CMYKcmyk(6.2%, 0%, 55.8%, 49.4%)
CIE-LABlab(51.91, -13.92, 37.44)
CIE-LCHlch(51.91, 39.95, 110.40°)
OKLaboklab(58.06% -0.0403 0.0876)
OKLCHoklch(58.06% 0.096 114.7)
XYZxyz(16.4742, 20.0611, 6.8744)
Luminance0.2006 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798139 #413981
analogous
#816539 #798139 #558139
triadic
#798139 #397981 #813979
tetradic
#798139 #398165 #413981 #813955
square
#798139 #398165 #413981 #813955
split-complementary
#798139 #395581 #653981
monochromatic
#292C13 #515726 #798139 #A1AB4C #B9C173

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798139#FFFFFF#000000##000000
##7981391.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)
#897B32
Deuteranopia (green-blind)
#897C3D
Tritanopia (blue-blind)
#807A71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #798139;
/* rgb */ color: rgb(121, 129, 57);
/* oklch */ color: oklch(58.1% 0.096 114.7);
Tailwind
colors: {
  custom: {
    50: '#a1a572',
    500: '#798139',
    950: '#000000',
  },
}
SCSS
$custom: #798139;
$custom-light: #a1a572;
$custom-dark: #000000;
JSON
{
  "hex": "#798139",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 57
  },
  "hsl": {
    "h": 66.667,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.09646,
    "h": 114.7
  },
  "luminance": 0.20061
}

Semantic roles & 50–950 ramp

primary
#798139
secondary
#726BAA
accent
#59CF66
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #798139

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

Preview Lab → · Contrast checker → · Palette generator →

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