#798622#798622

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

Color values

HEX#798622
RGBrgb(121, 134, 34)
HSLhsl(68, 60%, 33%)
HSVhsv(68, 75%, 53%)
CMYKcmyk(9.7%, 0%, 74.6%, 47.5%)
CIE-LABlab(53.20, -18.24, 49.00)
CIE-LCHlch(53.20, 52.28, 110.42°)
OKLaboklab(59.03% -0.0549 0.1087)
OKLCHoklch(59.03% 0.122 116.8)
XYZxyz(16.6994, 21.2308, 4.7313)
Luminance0.2123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798622 #2F2286
analogous
#866122 #798622 #478622
triadic
#798622 #227986 #862279
tetradic
#798622 #228661 #2F2286 #862247
square
#798622 #228661 #2F2286 #862247
split-complementary
#798622 #224786 #612286
monochromatic
#212409 #4D5516 #798622 #A5B72E #C2D350

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798622#FFFFFF#000000##000000
##7986221.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)
#8F7F0F
Deuteranopia (green-blind)
#8E802A
Tritanopia (blue-blind)
#817E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798622;
/* rgb */ color: rgb(121, 134, 34);
/* oklch */ color: oklch(59.0% 0.122 116.8);
Tailwind
colors: {
  custom: {
    50: '#a3a965',
    500: '#798622',
    950: '#000000',
  },
}
SCSS
$custom: #798622;
$custom-light: #a3a965;
$custom-dark: #000000;
JSON
{
  "hex": "#798622",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 67.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59032,
    "c": 0.12173,
    "h": 116.8
  },
  "luminance": 0.21231
}

Semantic roles & 50–950 ramp

primary
#798622
secondary
#5B4EB6
accent
#45E35A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798622

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

Preview Lab → · Contrast checker → · Palette generator →

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