#798633#798633

#798633 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.109 H 117.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#798633
RGBrgb(121, 134, 51)
HSLhsl(69, 45%, 36%)
HSVhsv(69, 62%, 53%)
CMYKcmyk(9.7%, 0%, 61.9%, 47.5%)
CIE-LABlab(53.34, -17.10, 41.95)
CIE-LCHlch(53.34, 45.31, 112.18°)
OKLaboklab(59.18% -0.0499 0.0965)
OKLCHoklch(59.18% 0.109 117.4)
XYZxyz(17.0081, 21.3543, 6.3571)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798633 #403386
analogous
#866A33 #798633 #508633
triadic
#798633 #337986 #863379
tetradic
#798633 #33866A #403386 #863350
square
#798633 #33866A #403386 #863350
split-complementary
#798633 #335086 #6A3386
monochromatic
#292D11 #515A22 #798633 #A1B244 #B9C76C

Accessibility & contrast

On white

3.98
#798633 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#798633 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798633
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798633#FFFFFF#000000##000000
##7986331.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F29
Deuteranopia (green-blind)
#8D8038
Tritanopia (blue-blind)
#807F74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798633;
/* rgb */ color: rgb(121, 134, 51);
/* oklch */ color: oklch(59.2% 0.109 117.4);
Tailwind
colors: {
  custom: {
    50: '#a2a96e',
    500: '#798633',
    950: '#000000',
  },
}
SCSS
$custom: #798633;
$custom-light: #a2a96e;
$custom-dark: #000000;
JSON
{
  "hex": "#798633",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 51
  },
  "hsl": {
    "h": 69.398,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59182,
    "c": 0.10868,
    "h": 117.4
  },
  "luminance": 0.21354
}

Semantic roles & 50–950 ramp

primary
#798633
secondary
#7166AF
accent
#53D567
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #798633

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

Preview Lab → · Contrast checker → · Palette generator →

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