#798014#798014

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

Color values

HEX#798014
RGBrgb(121, 128, 20)
HSLhsl(64, 73%, 29%)
HSVhsv(64, 84%, 50%)
CMYKcmyk(5.5%, 0%, 84.4%, 49.8%)
CIE-LABlab(51.33, -15.69, 51.85)
CIE-LCHlch(51.33, 54.17, 106.84°)
OKLaboklab(57.51% -0.049 0.1121)
OKLCHoklch(57.51% 0.122 113.6)
XYZxyz(15.7311, 19.5541, 3.6073)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798014 #1B1480
analogous
#805114 #798014 #438014
triadic
#798014 #147980 #801479
tetradic
#798014 #148051 #1B1480 #801443
square
#798014 #148051 #1B1480 #801443
split-complementary
#798014 #144380 #511480
monochromatic
#191A04 #474B0C #798014 #ABB51C #D3DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798014#FFFFFF#000000##000000
##7980141.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)
#8A7B1F
Tritanopia (blue-blind)
#82786D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #798014;
/* rgb */ color: rgb(121, 128, 20);
/* oklch */ color: oklch(57.5% 0.122 113.6);
Tailwind
colors: {
  custom: {
    50: '#a3a45e',
    500: '#798014',
    950: '#000000',
  },
}
SCSS
$custom: #798014;
$custom-light: #a3a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#798014",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 63.889,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.12237,
    "h": 113.6
  },
  "luminance": 0.19554
}

Semantic roles & 50–950 ramp

primary
#798014
secondary
#433BB5
accent
#38F044
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #798014

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

Preview Lab → · Contrast checker → · Palette generator →

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