#798625#798625

#798625 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.1% C 0.120 H 116.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#798625
RGBrgb(121, 134, 37)
HSLhsl(68, 57%, 34%)
HSVhsv(68, 72%, 53%)
CMYKcmyk(9.7%, 0%, 72.4%, 47.5%)
CIE-LABlab(53.22, -18.07, 47.87)
CIE-LCHlch(53.22, 51.17, 110.68°)
OKLaboklab(59.05% -0.0541 0.1068)
OKLCHoklch(59.05% 0.12 116.9)
XYZxyz(16.7446, 21.2489, 4.9693)
Luminance0.2125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798625 #322586
analogous
#866225 #798625 #488625
triadic
#798625 #257986 #862579
tetradic
#798625 #258662 #322586 #862548
square
#798625 #258662 #322586 #862548
split-complementary
#798625 #254886 #622586
monochromatic
#22260B #4E5618 #798625 #A4B632 #C0D055

Accessibility & contrast

On white

4.00
#798625 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#798625 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798625
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798625#FFFFFF#000000##000000
##7986251.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F15
Deuteranopia (green-blind)
#8E802D
Tritanopia (blue-blind)
#817E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798625;
/* rgb */ color: rgb(121, 134, 37);
/* oklch */ color: oklch(59.1% 0.120 116.9);
Tailwind
colors: {
  custom: {
    50: '#a3a966',
    500: '#798625',
    950: '#000000',
  },
}
SCSS
$custom: #798625;
$custom-light: #a3a966;
$custom-dark: #000000;
JSON
{
  "hex": "#798625",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 37
  },
  "hsl": {
    "h": 68.041,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59054,
    "c": 0.11975,
    "h": 116.9
  },
  "luminance": 0.21249
}

Semantic roles & 50–950 ramp

primary
#798625
secondary
#5F52B4
accent
#48E05C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #798625

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

Preview Lab → · Contrast checker → · Palette generator →

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