#798723#798723

#798723 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.122 H 117.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#798723
RGBrgb(121, 135, 35)
HSLhsl(68, 59%, 33%)
HSVhsv(68, 74%, 53%)
CMYKcmyk(10.4%, 0%, 74.1%, 47.1%)
CIE-LABlab(53.51, -18.71, 48.92)
CIE-LCHlch(53.51, 52.38, 110.92°)
OKLaboklab(59.28% -0.0561 0.1087)
OKLCHoklch(59.28% 0.122 117.3)
XYZxyz(16.8529, 21.5144, 4.8547)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798723 #312387
analogous
#876323 #798723 #478723
triadic
#798723 #237987 #872379
tetradic
#798723 #238763 #312387 #872347
square
#798723 #238763 #312387 #872347
split-complementary
#798723 #234787 #632387
monochromatic
#22260A #4D5616 #798723 #A5B830 #C0D252

Accessibility & contrast

On white

3.96
#798723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#798723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798723
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798723#FFFFFF#000000##000000
##7987231.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#908010
Deuteranopia (green-blind)
#8F802B
Tritanopia (blue-blind)
#817F74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798723;
/* rgb */ color: rgb(121, 135, 35);
/* oklch */ color: oklch(59.3% 0.122 117.3);
Tailwind
colors: {
  custom: {
    50: '#a3a965',
    500: '#798723',
    950: '#000000',
  },
}
SCSS
$custom: #798723;
$custom-light: #a3a965;
$custom-dark: #000000;
JSON
{
  "hex": "#798723",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 68.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5928,
    "c": 0.1223,
    "h": 117.3
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

primary
#798723
secondary
#5E50B6
accent
#46E25C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798723

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

Preview Lab → · Contrast checker → · Palette generator →

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