#798826#798826

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

Color values

HEX#798826
RGBrgb(121, 136, 38)
HSLhsl(69, 56%, 34%)
HSVhsv(69, 72%, 53%)
CMYKcmyk(11%, 0%, 72.1%, 46.7%)
CIE-LABlab(53.83, -19.05, 48.08)
CIE-LCHlch(53.83, 51.72, 111.62°)
OKLaboklab(59.54% -0.0567 0.1074)
OKLCHoklch(59.54% 0.122 117.8)
XYZxyz(17.0395, 21.8134, 5.1461)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798826 #352688
analogous
#886626 #798826 #488826
triadic
#798826 #267988 #882679
tetradic
#798826 #268866 #352688 #882648
square
#798826 #268866 #352688 #882648
split-complementary
#798826 #264888 #662688
monochromatic
#24280B #4E5819 #798826 #A4B833 #BED058

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798826#FFFFFF#000000##000000
##7988261.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)
#918016
Deuteranopia (green-blind)
#90812E
Tritanopia (blue-blind)
#818075
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798826;
/* rgb */ color: rgb(121, 136, 38);
/* oklch */ color: oklch(59.5% 0.121 117.8);
Tailwind
colors: {
  custom: {
    50: '#a2aa67',
    500: '#798826',
    950: '#000000',
  },
}
SCSS
$custom: #798826;
$custom-light: #a2aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#798826",
  "rgb": {
    "r": 121,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 69.184,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59544,
    "c": 0.1215,
    "h": 117.8
  },
  "luminance": 0.21813
}

Semantic roles & 50–950 ramp

primary
#798826
secondary
#6355B5
accent
#48E05F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798826

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

Preview Lab → · Contrast checker → · Palette generator →

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