#798013#798013

#798013 is a mid, vivid yellow. Relative luminance 0.196; OKLCH L 57.5% C 0.123 H 113.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#798013
RGBrgb(121, 128, 19)
HSLhsl(64, 74%, 29%)
HSVhsv(64, 85%, 50%)
CMYKcmyk(5.5%, 0%, 85.2%, 49.8%)
CIE-LABlab(51.33, -15.72, 52.12)
CIE-LCHlch(51.33, 54.44, 106.79°)
OKLaboklab(57.5% -0.0492 0.1125)
OKLCHoklch(57.5% 0.123 113.6)
XYZxyz(15.7224, 19.5507, 3.5614)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798013 #1A1380
analogous
#805113 #798013 #438013
triadic
#798013 #137980 #801379
tetradic
#798013 #138051 #1A1380 #801343
square
#798013 #138051 #1A1380 #801343
split-complementary
#798013 #134380 #511380
monochromatic
#191B04 #474B0B #798013 #ABB51B #D4E02D

Accessibility & contrast

On white

4.28
#798013 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#798013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798013
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798013#FFFFFF#000000##000000
##7980131.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8A7B1E
Tritanopia (blue-blind)
#82786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #798013;
/* rgb */ color: rgb(121, 128, 19);
/* oklch */ color: oklch(57.5% 0.123 113.6);
Tailwind
colors: {
  custom: {
    50: '#a3a45d',
    500: '#798013',
    950: '#000000',
  },
}
SCSS
$custom: #798013;
$custom-light: #a3a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#798013",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 63.853,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.12279,
    "h": 113.6
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#798013
secondary
#4139B5
accent
#37F143
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #798013

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

Preview Lab → · Contrast checker → · Palette generator →

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