#798432#798432

#798432 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.7% C 0.107 H 116.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#798432
RGBrgb(121, 132, 50)
HSLhsl(68, 45%, 36%)
HSVhsv(68, 62%, 52%)
CMYKcmyk(8.3%, 0%, 62.1%, 48.2%)
CIE-LABlab(52.73, -16.12, 41.76)
CIE-LCHlch(52.73, 44.76, 111.11°)
OKLaboklab(58.69% -0.0473 0.096)
OKLCHoklch(58.69% 0.107 116.2)
XYZxyz(16.7125, 20.7980, 6.1510)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798432 #3D3284
analogous
#846632 #798432 #508432
triadic
#798432 #327984 #843279
tetradic
#798432 #328466 #3D3284 #843250
square
#798432 #328466 #3D3284 #843250
split-complementary
#798432 #325084 #663284
monochromatic
#282B10 #505821 #798432 #A2B043 #BAC76A

Accessibility & contrast

On white

4.07
#798432 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#798432 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798432
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798432#FFFFFF#000000##000000
##7984321.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D29
Deuteranopia (green-blind)
#8C7E37
Tritanopia (blue-blind)
#807D73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798432;
/* rgb */ color: rgb(121, 132, 50);
/* oklch */ color: oklch(58.7% 0.107 116.2);
Tailwind
colors: {
  custom: {
    50: '#a2a76e',
    500: '#798432',
    950: '#000000',
  },
}
SCSS
$custom: #798432;
$custom-light: #a2a76e;
$custom-dark: #000000;
JSON
{
  "hex": "#798432",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 50
  },
  "hsl": {
    "h": 68.049,
    "s": 45.055,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58692,
    "c": 0.10699,
    "h": 116.2
  },
  "luminance": 0.20798
}

Semantic roles & 50–950 ramp

primary
#798432
secondary
#6E64AE
accent
#53D564
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798432

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

Preview Lab → · Contrast checker → · Palette generator →

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