#798714#798714

#798714 is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.2% C 0.130 H 117.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#798714
RGBrgb(121, 135, 20)
HSLhsl(67, 74%, 30%)
HSVhsv(67, 85%, 53%)
CMYKcmyk(10.4%, 0%, 85.2%, 47.1%)
CIE-LABlab(53.43, -19.36, 53.66)
CIE-LCHlch(53.43, 57.04, 109.84°)
OKLaboklab(59.19% -0.0591 0.116)
OKLCHoklch(59.19% 0.13 117)
XYZxyz(16.6759, 21.4436, 3.9222)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798714 #221487
analogous
#875B14 #798714 #408714
triadic
#798714 #147987 #871479
tetradic
#798714 #14875B #221487 #871440
square
#798714 #14875B #221487 #871440
split-complementary
#798714 #144087 #5B1487
monochromatic
#191C04 #49520C #798714 #A9BC1C #CCE134

Accessibility & contrast

On white

3.97
#798714 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#798714 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798714
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798714#FFFFFF#000000##000000
##7987141.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#908021
Tritanopia (blue-blind)
#817F73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798714;
/* rgb */ color: rgb(121, 135, 20);
/* oklch */ color: oklch(59.2% 0.130 117.0);
Tailwind
colors: {
  custom: {
    50: '#a3a95f',
    500: '#798714',
    950: '#000000',
  },
}
SCSS
$custom: #798714;
$custom-light: #a3a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#798714",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 20
  },
  "hsl": {
    "h": 67.304,
    "s": 74.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.59194,
    "c": 0.13021,
    "h": 117
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#798714
secondary
#4B3BBB
accent
#37F14E
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #798714

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

Preview Lab → · Contrast checker → · Palette generator →

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