#798914#798914

#798914 is a mid, vivid yellow. Relative luminance 0.220; OKLCH L 59.7% C 0.133 H 117.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#798914
RGBrgb(121, 137, 20)
HSLhsl(68, 75%, 31%)
HSVhsv(68, 85%, 54%)
CMYKcmyk(11.7%, 0%, 85.4%, 46.3%)
CIE-LABlab(54.03, -20.39, 54.17)
CIE-LCHlch(54.03, 57.89, 110.63°)
OKLaboklab(59.68% -0.0619 0.1171)
OKLCHoklch(59.68% 0.133 117.9)
XYZxyz(16.9575, 22.0070, 4.0161)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798914 #241489
analogous
#895E14 #798914 #3E8914
triadic
#798914 #147989 #891479
tetradic
#798914 #14895E #241489 #89143E
square
#798914 #14895E #241489 #89143E
split-complementary
#798914 #143E89 #5E1489
monochromatic
#1B1E04 #4A540C #798914 #A8BE1C #CAE236

Accessibility & contrast

On white

3.89
#798914 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#798914 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798914
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798914#FFFFFF#000000##000000
##7989141.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#818174
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798914;
/* rgb */ color: rgb(121, 137, 20);
/* oklch */ color: oklch(59.7% 0.133 117.9);
Tailwind
colors: {
  custom: {
    50: '#a3ab5f',
    500: '#798914',
    950: '#000000',
  },
}
SCSS
$custom: #798914;
$custom-light: #a3ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#798914",
  "rgb": {
    "r": 121,
    "g": 137,
    "b": 20
  },
  "hsl": {
    "h": 68.205,
    "s": 74.522,
    "l": 30.784
  },
  "oklch": {
    "l": 0.59679,
    "c": 0.1325,
    "h": 117.9
  },
  "luminance": 0.22007
}

Semantic roles & 50–950 ramp

primary
#798914
secondary
#4D3CBD
accent
#37F150
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#101005
muted
#7F7F79

Preview Lab

Preview with #798914

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

Preview Lab → · Contrast checker → · Palette generator →

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