#798615#798615

#798615 is a mid, vivid yellow. Relative luminance 0.212; OKLCH L 59.0% C 0.129 H 116.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#798615
RGBrgb(121, 134, 21)
HSLhsl(67, 73%, 30%)
HSVhsv(67, 84%, 53%)
CMYKcmyk(9.7%, 0%, 84.3%, 47.5%)
CIE-LABlab(53.13, -18.81, 53.14)
CIE-LCHlch(53.13, 56.37, 109.49°)
OKLaboklab(58.96% -0.0575 0.1151)
OKLCHoklch(58.96% 0.129 116.6)
XYZxyz(16.5461, 21.1695, 3.9238)
Luminance0.2117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798615 #221586
analogous
#865B15 #798615 #408615
triadic
#798615 #157986 #861579
tetradic
#798615 #15865B #221586 #861540
square
#798615 #15865B #221586 #861540
split-complementary
#798615 #154086 #5B1586
monochromatic
#191C04 #49510D #798615 #A9BB1D #CCDF36

Accessibility & contrast

On white

4.01
#798615 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#798615 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798615
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798615#FFFFFF#000000##000000
##7986151.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#8F8021
Tritanopia (blue-blind)
#817E72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798615;
/* rgb */ color: rgb(121, 134, 21);
/* oklch */ color: oklch(59.0% 0.129 116.6);
Tailwind
colors: {
  custom: {
    50: '#a3a95f',
    500: '#798615',
    950: '#000000',
  },
}
SCSS
$custom: #798615;
$custom-light: #a3a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#798615",
  "rgb": {
    "r": 121,
    "g": 134,
    "b": 21
  },
  "hsl": {
    "h": 66.903,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58957,
    "c": 0.12865,
    "h": 116.6
  },
  "luminance": 0.21169
}

Semantic roles & 50–950 ramp

primary
#798615
secondary
#4B3CBA
accent
#38F04D
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #798615

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

Preview Lab → · Contrast checker → · Palette generator →

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