#798729#798729

#798729 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.3% C 0.118 H 117.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#798729
RGBrgb(121, 135, 41)
HSLhsl(69, 53%, 35%)
HSVhsv(69, 70%, 53%)
CMYKcmyk(10.4%, 0%, 69.6%, 47.1%)
CIE-LABlab(53.55, -18.35, 46.59)
CIE-LCHlch(53.55, 50.08, 111.49°)
OKLaboklab(59.33% -0.0545 0.1048)
OKLCHoklch(59.33% 0.118 117.5)
XYZxyz(16.9497, 21.5532, 5.3647)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798729 #372987
analogous
#876629 #798729 #4A8729
triadic
#798729 #297987 #872979
tetradic
#798729 #298766 #372987 #87294A
square
#798729 #298766 #372987 #87294A
split-complementary
#798729 #294A87 #662987
monochromatic
#25290C #4F581B #798729 #A3B637 #BDCE5D

Accessibility & contrast

On white

3.95
#798729 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#798729 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798729
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798729#FFFFFF#000000##000000
##7987291.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801B
Deuteranopia (green-blind)
#8F8030
Tritanopia (blue-blind)
#807F74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798729;
/* rgb */ color: rgb(121, 135, 41);
/* oklch */ color: oklch(59.3% 0.118 117.5);
Tailwind
colors: {
  custom: {
    50: '#a2a969',
    500: '#798729',
    950: '#000000',
  },
}
SCSS
$custom: #798729;
$custom-light: #a2a969;
$custom-dark: #000000;
JSON
{
  "hex": "#798729",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 41
  },
  "hsl": {
    "h": 68.936,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59327,
    "c": 0.11813,
    "h": 117.5
  },
  "luminance": 0.21553
}

Semantic roles & 50–950 ramp

primary
#798729
secondary
#6659B3
accent
#4BDD61
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798729

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

Preview Lab → · Contrast checker → · Palette generator →

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