#797F13#797F13

#797F13 is a mid, vivid yellow. Relative luminance 0.193; OKLCH L 57.3% C 0.122 H 113.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#797F13
RGBrgb(121, 127, 19)
HSLhsl(63, 74%, 29%)
HSVhsv(63, 85%, 50%)
CMYKcmyk(4.7%, 0%, 85%, 50.2%)
CIE-LABlab(51.03, -15.19, 51.86)
CIE-LCHlch(51.03, 54.04, 106.33°)
OKLaboklab(57.26% -0.0477 0.112)
OKLCHoklch(57.26% 0.122 113.1)
XYZxyz(15.5926, 19.2911, 3.5181)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F13 #19137F
analogous
#7F4F13 #797F13 #437F13
triadic
#797F13 #13797F #7F1379
tetradic
#797F13 #137F4F #19137F #7F1343
square
#797F13 #137F4F #19137F #7F1343
split-complementary
#797F13 #13437F #4F137F
monochromatic
#191B04 #464A0B #797F13 #ACB41B #D6E02D

Accessibility & contrast

On white

4.32
#797F13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#797F13 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797F13
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797F13#FFFFFF#000000##000000
##797F131.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#897B1E
Tritanopia (blue-blind)
#82776C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #797f13;
/* rgb */ color: rgb(121, 127, 19);
/* oklch */ color: oklch(57.3% 0.122 113.1);
Tailwind
colors: {
  custom: {
    50: '#a3a35d',
    500: '#797f13',
    950: '#000000',
  },
}
SCSS
$custom: #797f13;
$custom-light: #a3a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#797f13",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 19
  },
  "hsl": {
    "h": 63.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.1217,
    "h": 113.1
  },
  "luminance": 0.19291
}

Semantic roles & 50–950 ramp

primary
#797F13
secondary
#4039B4
accent
#37F141
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #797F13

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

Preview Lab → · Contrast checker → · Palette generator →

#797F13 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva