#798433#798433

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

Color values

HEX#798433
RGBrgb(121, 132, 51)
HSLhsl(68, 44%, 36%)
HSVhsv(68, 61%, 52%)
CMYKcmyk(8.3%, 0%, 61.4%, 48.2%)
CIE-LABlab(52.74, -16.04, 41.30)
CIE-LCHlch(52.74, 44.30, 111.23°)
OKLaboklab(58.7% -0.047 0.0951)
OKLCHoklch(58.7% 0.106 116.3)
XYZxyz(16.7343, 20.8067, 6.2659)
Luminance0.2081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798433 #3E3384
analogous
#846633 #798433 #508433
triadic
#798433 #337984 #843379
tetradic
#798433 #338466 #3E3384 #843350
square
#798433 #338466 #3E3384 #843350
split-complementary
#798433 #335084 #663384
monochromatic
#282C11 #515822 #798433 #A1B044 #BAC66B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798433#FFFFFF#000000##000000
##7984331.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)
#8D7D2A
Deuteranopia (green-blind)
#8C7E38
Tritanopia (blue-blind)
#807D73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798433;
/* rgb */ color: rgb(121, 132, 51);
/* oklch */ color: oklch(58.7% 0.106 116.3);
Tailwind
colors: {
  custom: {
    50: '#a2a76e',
    500: '#798433',
    950: '#000000',
  },
}
SCSS
$custom: #798433;
$custom-light: #a2a76e;
$custom-dark: #000000;
JSON
{
  "hex": "#798433",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 51
  },
  "hsl": {
    "h": 68.148,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.10609,
    "h": 116.3
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#798433
secondary
#6F65AE
accent
#54D465
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798433

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

Preview Lab → · Contrast checker → · Palette generator →

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