#798623#798623

#798623 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.121 H 116.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#798623
RGBrgb(121, 134, 35)
HSLhsl(68, 59%, 33%)
HSVhsv(68, 74%, 53%)
CMYKcmyk(9.7%, 0%, 73.9%, 47.5%)
CIE-LABlab(53.21, -18.18, 48.63)
CIE-LCHlch(53.21, 51.92, 110.50°)
OKLaboklab(59.04% -0.0546 0.1081)
OKLCHoklch(59.04% 0.121 116.8)
XYZxyz(16.7140, 21.2367, 4.8084)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798623 #302386
analogous
#866123 #798623 #478623
triadic
#798623 #237986 #862379
tetradic
#798623 #238661 #302386 #862347
square
#798623 #238661 #302386 #862347
split-complementary
#798623 #234786 #612386
monochromatic
#21250A #4D5516 #798623 #A5B730 #C1D252

Accessibility & contrast

On white

4.00
#798623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#798623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798623
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798623#FFFFFF#000000##000000
##7986231.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F11
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#817E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798623;
/* rgb */ color: rgb(121, 134, 35);
/* oklch */ color: oklch(59.0% 0.121 116.8);
Tailwind
colors: {
  custom: {
    50: '#a3a965',
    500: '#798623',
    950: '#000000',
  },
}
SCSS
$custom: #798623;
$custom-light: #a3a965;
$custom-dark: #000000;
JSON
{
  "hex": "#798623",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 67.879,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59039,
    "c": 0.12108,
    "h": 116.8
  },
  "luminance": 0.21236
}

Semantic roles & 50–950 ramp

primary
#798623
secondary
#5D4FB5
accent
#46E25A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798623

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

Preview Lab → · Contrast checker → · Palette generator →

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