#798525#798525

#798525 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.119 H 116.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#798525
RGBrgb(121, 133, 37)
HSLhsl(68, 56%, 33%)
HSVhsv(68, 72%, 52%)
CMYKcmyk(9%, 0%, 72.2%, 47.8%)
CIE-LABlab(52.92, -17.55, 47.58)
CIE-LCHlch(52.92, 50.71, 110.25°)
OKLaboklab(58.81% -0.0526 0.1062)
OKLCHoklch(58.81% 0.119 116.4)
XYZxyz(16.6070, 20.9738, 4.9234)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798525 #312585
analogous
#856125 #798525 #498525
triadic
#798525 #257985 #852579
tetradic
#798525 #258561 #312585 #852549
square
#798525 #258561 #312585 #852549
split-complementary
#798525 #254985 #612585
monochromatic
#22250A #4D5518 #798525 #A5B532 #C0D055

Accessibility & contrast

On white

4.04
#798525 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#798525 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798525
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798525#FFFFFF#000000##000000
##7985251.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E15
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#817D72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798525;
/* rgb */ color: rgb(121, 133, 37);
/* oklch */ color: oklch(58.8% 0.119 116.4);
Tailwind
colors: {
  custom: {
    50: '#a2a866',
    500: '#798525',
    950: '#000000',
  },
}
SCSS
$custom: #798525;
$custom-light: #a2a866;
$custom-dark: #000000;
JSON
{
  "hex": "#798525",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 67.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58813,
    "c": 0.11854,
    "h": 116.4
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#798525
secondary
#5E52B4
accent
#48E05B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798525

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

Preview Lab → · Contrast checker → · Palette generator →

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