#798435#798435

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

Color values

HEX#798435
RGBrgb(121, 132, 53)
HSLhsl(68, 43%, 36%)
HSVhsv(68, 60%, 52%)
CMYKcmyk(8.3%, 0%, 59.8%, 48.2%)
CIE-LABlab(52.76, -15.88, 40.37)
CIE-LCHlch(52.76, 43.38, 111.47°)
OKLaboklab(58.73% -0.0463 0.0934)
OKLCHoklch(58.73% 0.104 116.4)
XYZxyz(16.7793, 20.8247, 6.5031)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798435 #403584
analogous
#846835 #798435 #528435
triadic
#798435 #357984 #843579
tetradic
#798435 #358468 #403584 #843552
square
#798435 #358468 #403584 #843552
split-complementary
#798435 #355284 #683584
monochromatic
#292D12 #515823 #798435 #A1B047 #B9C56E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798435#FFFFFF#000000##000000
##7984351.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)
#8D7D2C
Deuteranopia (green-blind)
#8C7E3A
Tritanopia (blue-blind)
#807D73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798435;
/* rgb */ color: rgb(121, 132, 53);
/* oklch */ color: oklch(58.7% 0.104 116.4);
Tailwind
colors: {
  custom: {
    50: '#a2a76f',
    500: '#798435',
    950: '#000000',
  },
}
SCSS
$custom: #798435;
$custom-light: #a2a76f;
$custom-dark: #000000;
JSON
{
  "hex": "#798435",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 53
  },
  "hsl": {
    "h": 68.354,
    "s": 42.703,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58725,
    "c": 0.10426,
    "h": 116.4
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#798435
secondary
#7168AD
accent
#55D267
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798435

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

Preview Lab → · Contrast checker → · Palette generator →

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