#798823#798823

#798823 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.5% C 0.123 H 117.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#798823
RGBrgb(121, 136, 35)
HSLhsl(69, 59%, 34%)
HSVhsv(69, 74%, 53%)
CMYKcmyk(11%, 0%, 74.3%, 46.7%)
CIE-LABlab(53.81, -19.22, 49.21)
CIE-LCHlch(53.81, 52.84, 111.34°)
OKLaboklab(59.52% -0.0575 0.1093)
OKLCHoklch(59.52% 0.124 117.7)
XYZxyz(16.9931, 21.7948, 4.9014)
Luminance0.2180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798823 #322388
analogous
#886423 #798823 #468823
triadic
#798823 #237988 #882379
tetradic
#798823 #238864 #322388 #882346
square
#798823 #238864 #322388 #882346
split-complementary
#798823 #234688 #642388
monochromatic
#22270A #4E5716 #798823 #A4B930 #C0D353

Accessibility & contrast

On white

3.92
#798823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#798823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798823
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798823#FFFFFF#000000##000000
##7988231.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#818074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798823;
/* rgb */ color: rgb(121, 136, 35);
/* oklch */ color: oklch(59.5% 0.123 117.7);
Tailwind
colors: {
  custom: {
    50: '#a3aa66',
    500: '#798823',
    950: '#000000',
  },
}
SCSS
$custom: #798823;
$custom-light: #a3aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#798823",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 68.911,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59522,
    "c": 0.1235,
    "h": 117.7
  },
  "luminance": 0.21795
}

Semantic roles & 50–950 ramp

primary
#798823
secondary
#5F50B7
accent
#46E25D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798823

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

Preview Lab → · Contrast checker → · Palette generator →

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