#798734#798734

#798734 is a mid, moderate yellow-green. Relative luminance 0.216; OKLCH L 59.4% C 0.109 H 117.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#798734
RGBrgb(121, 135, 52)
HSLhsl(70, 44%, 37%)
HSVhsv(70, 61%, 53%)
CMYKcmyk(10.4%, 0%, 61.5%, 47.1%)
CIE-LABlab(53.64, -17.55, 41.83)
CIE-LCHlch(53.64, 45.36, 112.76°)
OKLaboklab(59.43% -0.0511 0.0964)
OKLCHoklch(59.43% 0.109 117.9)
XYZxyz(17.1692, 21.6410, 6.5208)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798734 #423487
analogous
#876C34 #798734 #508734
triadic
#798734 #347987 #873479
tetradic
#798734 #34876C #423487 #873450
square
#798734 #34876C #423487 #873450
split-complementary
#798734 #345087 #6C3487
monochromatic
#2A2F12 #515B23 #798734 #A1B345 #B8C76E

Accessibility & contrast

On white

3.94
#798734 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#798734 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798734
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798734#FFFFFF#000000##000000
##7987341.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90802B
Deuteranopia (green-blind)
#8E8139
Tritanopia (blue-blind)
#808075
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798734;
/* rgb */ color: rgb(121, 135, 52);
/* oklch */ color: oklch(59.4% 0.109 117.9);
Tailwind
colors: {
  custom: {
    50: '#a2a96f',
    500: '#798734',
    950: '#000000',
  },
}
SCSS
$custom: #798734;
$custom-light: #a2a96f;
$custom-dark: #000000;
JSON
{
  "hex": "#798734",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 52
  },
  "hsl": {
    "h": 70.12,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.10908,
    "h": 117.9
  },
  "luminance": 0.21641
}

Semantic roles & 50–950 ramp

primary
#798734
secondary
#7467AF
accent
#54D469
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #798734

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

Preview Lab → · Contrast checker → · Palette generator →

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