#798025#798025

#798025 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.6% C 0.113 H 113.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#798025
RGBrgb(121, 128, 37)
HSLhsl(65, 55%, 32%)
HSVhsv(65, 71%, 50%)
CMYKcmyk(5.5%, 0%, 71.1%, 49.8%)
CIE-LABlab(51.42, -14.90, 46.09)
CIE-LCHlch(51.42, 48.44, 107.91°)
OKLaboklab(57.61% -0.0453 0.1031)
OKLCHoklch(57.61% 0.113 113.7)
XYZxyz(15.9387, 19.6372, 4.7006)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798025 #2C2580
analogous
#805925 #798025 #4C8025
triadic
#798025 #257980 #802579
tetradic
#798025 #258059 #2C2580 #80254C
square
#798025 #258059 #2C2580 #80254C
split-complementary
#798025 #254C80 #592580
monochromatic
#1F210A #4C5117 #798025 #A6AF33 #C4CD52

Accessibility & contrast

On white

4.26
#798025 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#798025 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798025
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798025#FFFFFF#000000##000000
##7980251.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A17
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#81786E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #798025;
/* rgb */ color: rgb(121, 128, 37);
/* oklch */ color: oklch(57.6% 0.113 113.7);
Tailwind
colors: {
  custom: {
    50: '#a2a466',
    500: '#798025',
    950: '#000000',
  },
}
SCSS
$custom: #798025;
$custom-light: #a2a466;
$custom-dark: #000000;
JSON
{
  "hex": "#798025",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 64.615,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57613,
    "c": 0.11257,
    "h": 113.7
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#798025
secondary
#5750B1
accent
#49DE55
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798025

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

Preview Lab → · Contrast checker → · Palette generator →

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