#798926#798926

#798926 is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.8% C 0.123 H 118.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#798926
RGBrgb(121, 137, 38)
HSLhsl(70, 57%, 34%)
HSVhsv(70, 72%, 54%)
CMYKcmyk(11.7%, 0%, 72.3%, 46.3%)
CIE-LABlab(54.13, -19.57, 48.38)
CIE-LCHlch(54.13, 52.19, 112.02°)
OKLaboklab(59.79% -0.0582 0.1081)
OKLCHoklch(59.79% 0.123 118.3)
XYZxyz(17.1810, 22.0964, 5.1933)
Luminance0.2210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798926 #362689
analogous
#896826 #798926 #488926
triadic
#798926 #267989 #892679
tetradic
#798926 #268968 #362689 #892648
square
#798926 #268968 #362689 #892648
split-complementary
#798926 #264889 #682689
monochromatic
#24290B #4F5919 #798926 #A3B933 #BDD159

Accessibility & contrast

On white

3.88
#798926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#798926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798926
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798926#FFFFFF#000000##000000
##7989261.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928115
Deuteranopia (green-blind)
#91822E
Tritanopia (blue-blind)
#808176
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798926;
/* rgb */ color: rgb(121, 137, 38);
/* oklch */ color: oklch(59.8% 0.123 118.3);
Tailwind
colors: {
  custom: {
    50: '#a3ab67',
    500: '#798926',
    950: '#000000',
  },
}
SCSS
$custom: #798926;
$custom-light: #a3ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#798926",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 69.697,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59786,
    "c": 0.12273,
    "h": 118.3
  },
  "luminance": 0.22096
}

Semantic roles & 50–950 ramp

primary
#798926
secondary
#6555B6
accent
#48E061
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798926

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

Preview Lab → · Contrast checker → · Palette generator →

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