#798113#798113

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

Color values

HEX#798113
RGBrgb(121, 129, 19)
HSLhsl(64, 74%, 29%)
HSVhsv(64, 85%, 51%)
CMYKcmyk(6.2%, 0%, 85.3%, 49.4%)
CIE-LABlab(51.62, -16.25, 52.37)
CIE-LCHlch(51.62, 54.84, 107.24°)
OKLaboklab(57.74% -0.0506 0.1131)
OKLCHoklch(57.74% 0.124 114.1)
XYZxyz(15.8535, 19.8128, 3.6051)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798113 #1B1381
analogous
#815213 #798113 #428113
triadic
#798113 #137981 #811379
tetradic
#798113 #138152 #1B1381 #811342
square
#798113 #138152 #1B1381 #811342
split-complementary
#798113 #134281 #521381
monochromatic
#191B04 #474C0B #798113 #ABB61B #D3E02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##798113#FFFFFF#000000##000000
##7981131.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: #798113;
/* rgb */ color: rgb(121, 129, 19);
/* oklch */ color: oklch(57.7% 0.124 114.1);
Tailwind
colors: {
  custom: {
    50: '#a3a55e',
    500: '#798113',
    950: '#000000',
  },
}
SCSS
$custom: #798113;
$custom-light: #a3a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#798113",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 19
  },
  "hsl": {
    "h": 64.364,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.12389,
    "h": 114.1
  },
  "luminance": 0.19812
}

Semantic roles & 50–950 ramp

primary
#798113
secondary
#433AB6
accent
#37F144
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #798113

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

Preview Lab → · Contrast checker → · Palette generator →

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