#798534#798534

#798534 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.0% C 0.106 H 116.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#798534
RGBrgb(121, 133, 52)
HSLhsl(69, 44%, 36%)
HSVhsv(69, 61%, 52%)
CMYKcmyk(9%, 0%, 60.9%, 47.8%)
CIE-LABlab(53.05, -16.49, 41.17)
CIE-LCHlch(53.05, 44.35, 111.83°)
OKLaboklab(58.95% -0.0481 0.095)
OKLCHoklch(58.95% 0.106 116.9)
XYZxyz(16.8928, 21.0881, 6.4286)
Luminance0.2109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798534 #403485
analogous
#856934 #798534 #518534
triadic
#798534 #347985 #853479
tetradic
#798534 #348569 #403485 #853451
square
#798534 #348569 #403485 #853451
split-complementary
#798534 #345185 #693485
monochromatic
#292D12 #515923 #798534 #A1B145 #B9C66D

Accessibility & contrast

On white

4.02
#798534 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#798534 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798534
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798534#FFFFFF#000000##000000
##7985341.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E2B
Deuteranopia (green-blind)
#8C7F39
Tritanopia (blue-blind)
#807E74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798534;
/* rgb */ color: rgb(121, 133, 52);
/* oklch */ color: oklch(59.0% 0.106 116.9);
Tailwind
colors: {
  custom: {
    50: '#a2a86f',
    500: '#798534',
    950: '#000000',
  },
}
SCSS
$custom: #798534;
$custom-light: #a2a86f;
$custom-dark: #000000;
JSON
{
  "hex": "#798534",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 52
  },
  "hsl": {
    "h": 68.889,
    "s": 43.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.10648,
    "h": 116.9
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#798534
secondary
#7167AE
accent
#54D467
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798534

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

Preview Lab → · Contrast checker → · Palette generator →

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