#798332#798332

#798332 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.5% C 0.106 H 115.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#798332
RGBrgb(121, 131, 50)
HSLhsl(67, 45%, 35%)
HSVhsv(67, 62%, 51%)
CMYKcmyk(7.6%, 0%, 61.8%, 48.6%)
CIE-LABlab(52.43, -15.59, 41.43)
CIE-LCHlch(52.43, 44.27, 110.63°)
OKLaboklab(58.45% -0.0458 0.0953)
OKLCHoklch(58.45% 0.106 115.7)
XYZxyz(16.5775, 20.5281, 6.1060)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798332 #3C3283
analogous
#836432 #798332 #518332
triadic
#798332 #327983 #833279
tetradic
#798332 #328364 #3C3283 #833251
square
#798332 #328364 #3C3283 #833251
split-complementary
#798332 #325183 #643283
monochromatic
#272A10 #505721 #798332 #A2AF43 #BBC669

Accessibility & contrast

On white

4.11
#798332 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#798332 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798332
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798332#FFFFFF#000000##000000
##7983321.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D29
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#807C72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798332;
/* rgb */ color: rgb(121, 131, 50);
/* oklch */ color: oklch(58.5% 0.106 115.7);
Tailwind
colors: {
  custom: {
    50: '#a2a76d',
    500: '#798332',
    950: '#000000',
  },
}
SCSS
$custom: #798332;
$custom-light: #a2a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#798332",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 50
  },
  "hsl": {
    "h": 67.407,
    "s": 44.751,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58452,
    "c": 0.10572,
    "h": 115.7
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#798332
secondary
#6C63AE
accent
#53D463
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798332

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

Preview Lab → · Contrast checker → · Palette generator →

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