#798341#798341

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

Color values

HEX#798341
RGBrgb(121, 131, 65)
HSLhsl(69, 34%, 38%)
HSVhsv(69, 50%, 51%)
CMYKcmyk(7.6%, 0%, 50.4%, 48.6%)
CIE-LABlab(52.60, -14.21, 34.16)
CIE-LCHlch(52.60, 37.00, 112.58°)
OKLaboklab(58.64% -0.0403 0.0813)
OKLCHoklch(58.64% 0.091 116.4)
XYZxyz(16.9558, 20.6794, 8.0983)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798341 #4B4183
analogous
#836C41 #798341 #588341
triadic
#798341 #417983 #834179
tetradic
#798341 #41836C #4B4183 #834158
square
#798341 #41836C #4B4183 #834158
split-complementary
#798341 #415883 #6C4183
monochromatic
#2D3118 #535A2D #798341 #9EAB56 #B6BF7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798341#FFFFFF#000000##000000
##7983411.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)
#8B7D3B
Deuteranopia (green-blind)
#8A7E45
Tritanopia (blue-blind)
#7F7D74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798341;
/* rgb */ color: rgb(121, 131, 65);
/* oklch */ color: oklch(58.6% 0.091 116.4);
Tailwind
colors: {
  custom: {
    50: '#a1a777',
    500: '#798341',
    950: '#000000',
  },
}
SCSS
$custom: #798341;
$custom-light: #a1a777;
$custom-dark: #000000;
JSON
{
  "hex": "#798341",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 69.091,
    "s": 33.673,
    "l": 38.431
  },
  "oklch": {
    "l": 0.58641,
    "c": 0.09072,
    "h": 116.4
  },
  "luminance": 0.20679
}

Semantic roles & 50–950 ramp

primary
#798341
secondary
#7E76AA
accent
#5ECA6E
background
#FAFAF7
surface
#F3F4ED
border
#CDCEC8
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #798341

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

Preview Lab → · Contrast checker → · Palette generator →

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