#798114#798114

#798114 is a mid, vivid yellow. Relative luminance 0.198; OKLCH L 57.7% C 0.123 H 114.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#798114
RGBrgb(121, 129, 20)
HSLhsl(64, 73%, 29%)
HSVhsv(64, 84%, 51%)
CMYKcmyk(6.2%, 0%, 84.5%, 49.4%)
CIE-LABlab(51.63, -16.22, 52.11)
CIE-LCHlch(51.63, 54.57, 107.29°)
OKLaboklab(57.75% -0.0505 0.1127)
OKLCHoklch(57.75% 0.123 114.1)
XYZxyz(15.8622, 19.8163, 3.6510)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798114 #1C1481
analogous
#815314 #798114 #438114
triadic
#798114 #147981 #811479
tetradic
#798114 #148153 #1C1481 #811443
square
#798114 #148153 #1C1481 #811443
split-complementary
#798114 #144381 #531481
monochromatic
#191A04 #474C0C #798114 #ABB61C #D2DF30

Accessibility & contrast

On white

4.23
#798114 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#798114 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798114
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798114#FFFFFF#000000##000000
##7981141.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8B7C1F
Tritanopia (blue-blind)
#82796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #798114;
/* rgb */ color: rgb(121, 129, 20);
/* oklch */ color: oklch(57.7% 0.123 114.1);
Tailwind
colors: {
  custom: {
    50: '#a3a55e',
    500: '#798114',
    950: '#000000',
  },
}
SCSS
$custom: #798114;
$custom-light: #a3a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#798114",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 64.404,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.57746,
    "c": 0.12347,
    "h": 114.1
  },
  "luminance": 0.19816
}

Semantic roles & 50–950 ramp

primary
#798114
secondary
#443BB6
accent
#38F045
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #798114

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

Preview Lab → · Contrast checker → · Palette generator →

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