#798334#798334

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

Color values

HEX#798334
RGBrgb(121, 131, 52)
HSLhsl(68, 43%, 36%)
HSVhsv(68, 60%, 51%)
CMYKcmyk(7.6%, 0%, 60.3%, 48.6%)
CIE-LABlab(52.45, -15.43, 40.50)
CIE-LCHlch(52.45, 43.34, 110.85°)
OKLaboklab(58.47% -0.0451 0.0936)
OKLCHoklch(58.47% 0.104 115.8)
XYZxyz(16.6216, 20.5457, 6.3382)
Luminance0.2054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798334 #3E3483
analogous
#836534 #798334 #518334
triadic
#798334 #347983 #833479
tetradic
#798334 #348365 #3E3483 #833451
square
#798334 #348365 #3E3483 #833451
split-complementary
#798334 #345183 #653483
monochromatic
#282B11 #515723 #798334 #A1AF45 #BAC56D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798334#FFFFFF#000000##000000
##7983341.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)
#8C7D2B
Deuteranopia (green-blind)
#8B7E39
Tritanopia (blue-blind)
#807C72
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798334;
/* rgb */ color: rgb(121, 131, 52);
/* oklch */ color: oklch(58.5% 0.104 115.8);
Tailwind
colors: {
  custom: {
    50: '#a2a76f',
    500: '#798334',
    950: '#000000',
  },
}
SCSS
$custom: #798334;
$custom-light: #a2a76f;
$custom-dark: #000000;
JSON
{
  "hex": "#798334",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 52
  },
  "hsl": {
    "h": 67.595,
    "s": 43.169,
    "l": 35.882
  },
  "oklch": {
    "l": 0.58474,
    "c": 0.1039,
    "h": 115.8
  },
  "luminance": 0.20545
}

Semantic roles & 50–950 ramp

primary
#798334
secondary
#6F66AD
accent
#55D365
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798334

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

Preview Lab → · Contrast checker → · Palette generator →

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