#798425#798425

#798425 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.117 H 115.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#798425
RGBrgb(121, 132, 37)
HSLhsl(67, 56%, 33%)
HSVhsv(67, 72%, 52%)
CMYKcmyk(8.3%, 0%, 72%, 48.2%)
CIE-LABlab(52.62, -17.02, 47.28)
CIE-LCHlch(52.62, 50.25, 109.80°)
OKLaboklab(58.57% -0.0512 0.1056)
OKLCHoklch(58.57% 0.117 115.9)
XYZxyz(16.4708, 20.7013, 4.8780)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798425 #302584
analogous
#845F25 #798425 #4A8425
triadic
#798425 #257984 #842579
tetradic
#798425 #25845F #302584 #84254A
square
#798425 #25845F #302584 #84254A
split-complementary
#798425 #254A84 #5F2584
monochromatic
#21240A #4D5418 #798425 #A5B432 #C1CF54

Accessibility & contrast

On white

4.09
#798425 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#798425 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798425
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798425#FFFFFF#000000##000000
##7984251.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D15
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#817C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #798425;
/* rgb */ color: rgb(121, 132, 37);
/* oklch */ color: oklch(58.6% 0.117 115.9);
Tailwind
colors: {
  custom: {
    50: '#a2a766',
    500: '#798425',
    950: '#000000',
  },
}
SCSS
$custom: #798425;
$custom-light: #a2a766;
$custom-dark: #000000;
JSON
{
  "hex": "#798425",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 37
  },
  "hsl": {
    "h": 66.947,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.11734,
    "h": 115.9
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#798425
secondary
#5D51B3
accent
#48E05A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798425

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

Preview Lab → · Contrast checker → · Palette generator →

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