#798923#798923

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

Color values

HEX#798923
RGBrgb(121, 137, 35)
HSLhsl(69, 59%, 34%)
HSVhsv(69, 74%, 54%)
CMYKcmyk(11.7%, 0%, 74.5%, 46.3%)
CIE-LABlab(54.11, -19.74, 49.50)
CIE-LCHlch(54.11, 53.30, 111.74°)
OKLaboklab(59.76% -0.0589 0.1099)
OKLCHoklch(59.76% 0.125 118.2)
XYZxyz(17.1346, 22.0778, 4.9486)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798923 #332389
analogous
#896623 #798923 #468923
triadic
#798923 #237989 #892379
tetradic
#798923 #238966 #332389 #892346
square
#798923 #238966 #332389 #892346
split-complementary
#798923 #234689 #662389
monochromatic
#23280A #4E5817 #798923 #A4BA2F #BFD353

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798923#FFFFFF#000000##000000
##7989231.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)
#92810F
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#818175
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798923;
/* rgb */ color: rgb(121, 137, 35);
/* oklch */ color: oklch(59.8% 0.125 118.2);
Tailwind
colors: {
  custom: {
    50: '#a3ab66',
    500: '#798923',
    950: '#000000',
  },
}
SCSS
$custom: #798923;
$custom-light: #a3ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#798923",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 69.412,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59764,
    "c": 0.12471,
    "h": 118.2
  },
  "luminance": 0.22078
}

Semantic roles & 50–950 ramp

primary
#798923
secondary
#6151B7
accent
#45E25E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #798923

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

Preview Lab → · Contrast checker → · Palette generator →

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