#798532#798532

#798532 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 58.9% C 0.108 H 116.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#798532
RGBrgb(121, 133, 50)
HSLhsl(69, 45%, 36%)
HSVhsv(69, 62%, 52%)
CMYKcmyk(9%, 0%, 62.4%, 47.8%)
CIE-LABlab(53.03, -16.65, 42.08)
CIE-LCHlch(53.03, 45.26, 111.59°)
OKLaboklab(58.93% -0.0488 0.0967)
OKLCHoklch(58.93% 0.108 116.8)
XYZxyz(16.8487, 21.0705, 6.1964)
Luminance0.2107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798532 #3E3285
analogous
#856732 #798532 #4F8532
triadic
#798532 #327985 #853279
tetradic
#798532 #328567 #3E3285 #85324F
square
#798532 #328567 #3E3285 #85324F
split-complementary
#798532 #324F85 #673285
monochromatic
#282C11 #515921 #798532 #A1B143 #BAC76A

Accessibility & contrast

On white

4.03
#798532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#798532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798532
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798532#FFFFFF#000000##000000
##7985321.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E28
Deuteranopia (green-blind)
#8D7F37
Tritanopia (blue-blind)
#807E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798532;
/* rgb */ color: rgb(121, 133, 50);
/* oklch */ color: oklch(58.9% 0.108 116.8);
Tailwind
colors: {
  custom: {
    50: '#a2a86e',
    500: '#798532',
    950: '#000000',
  },
}
SCSS
$custom: #798532;
$custom-light: #a2a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#798532",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 68.675,
    "s": 45.355,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.10828,
    "h": 116.8
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#798532
secondary
#6F64AF
accent
#53D566
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798532

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

Preview Lab → · Contrast checker → · Palette generator →

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