#798339#798339

#798339 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.099 H 116.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#798339
RGBrgb(121, 131, 57)
HSLhsl(68, 39%, 37%)
HSVhsv(68, 56%, 51%)
CMYKcmyk(7.6%, 0%, 56.5%, 48.6%)
CIE-LABlab(52.50, -14.99, 38.13)
CIE-LCHlch(52.50, 40.97, 111.47°)
OKLaboklab(58.53% -0.0434 0.0891)
OKLCHoklch(58.53% 0.099 116)
XYZxyz(16.7403, 20.5932, 6.9631)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798339 #433983
analogous
#836839 #798339 #548339
triadic
#798339 #397983 #833979
tetradic
#798339 #398368 #433983 #833954
square
#798339 #398368 #433983 #833954
split-complementary
#798339 #395483 #683983
monochromatic
#2A2E14 #525826 #798339 #A0AE4C #B8C274

Accessibility & contrast

On white

4.10
#798339 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#798339 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798339
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798339#FFFFFF#000000##000000
##7983391.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7D32
Deuteranopia (green-blind)
#8B7E3D
Tritanopia (blue-blind)
#807C73
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798339;
/* rgb */ color: rgb(121, 131, 57);
/* oklch */ color: oklch(58.5% 0.099 116.0);
Tailwind
colors: {
  custom: {
    50: '#a1a772',
    500: '#798339',
    950: '#000000',
  },
}
SCSS
$custom: #798339;
$custom-light: #a1a772;
$custom-dark: #000000;
JSON
{
  "hex": "#798339",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 68.108,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.58534,
    "c": 0.09908,
    "h": 116
  },
  "luminance": 0.20593
}

Semantic roles & 50–950 ramp

primary
#798339
secondary
#756CAC
accent
#59CF69
background
#FAFAF7
surface
#F4F4ED
border
#CECEC8
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #798339

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

Preview Lab → · Contrast checker → · Palette generator →

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