#798329#798329

#798329 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.4% C 0.113 H 115.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#798329
RGBrgb(121, 131, 41)
HSLhsl(67, 52%, 34%)
HSVhsv(67, 69%, 51%)
CMYKcmyk(7.6%, 0%, 68.7%, 48.6%)
CIE-LABlab(52.35, -16.25, 45.37)
CIE-LCHlch(52.35, 48.19, 109.70°)
OKLaboklab(58.37% -0.0486 0.1022)
OKLCHoklch(58.37% 0.113 115.4)
XYZxyz(16.4021, 20.4579, 5.1821)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798329 #332983
analogous
#836029 #798329 #4C8329
triadic
#798329 #297983 #832979
tetradic
#798329 #298360 #332983 #83294C
square
#798329 #298360 #332983 #83294C
split-complementary
#798329 #294C83 #602983
monochromatic
#23260C #4E541A #798329 #A4B238 #BFCC5B

Accessibility & contrast

On white

4.12
#798329 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#798329 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798329
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798329#FFFFFF#000000##000000
##7983291.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C1C
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#817B71
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798329;
/* rgb */ color: rgb(121, 131, 41);
/* oklch */ color: oklch(58.4% 0.113 115.4);
Tailwind
colors: {
  custom: {
    50: '#a2a668',
    500: '#798329',
    950: '#000000',
  },
}
SCSS
$custom: #798329;
$custom-light: #a2a668;
$custom-dark: #000000;
JSON
{
  "hex": "#798329",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 41
  },
  "hsl": {
    "h": 66.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.58365,
    "c": 0.11321,
    "h": 115.4
  },
  "luminance": 0.20458
}

Semantic roles & 50–950 ramp

primary
#798329
secondary
#6157B1
accent
#4CDC5C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798329

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

Preview Lab → · Contrast checker → · Palette generator →

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