#797F10#797F10

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

Color values

HEX#797F10
RGBrgb(121, 127, 16)
HSLhsl(63, 78%, 28%)
HSVhsv(63, 87%, 50%)
CMYKcmyk(4.7%, 0%, 87.4%, 50.2%)
CIE-LABlab(51.01, -15.28, 52.61)
CIE-LCHlch(51.01, 54.79, 106.20°)
OKLaboklab(57.25% -0.0481 0.1131)
OKLCHoklch(57.25% 0.123 113.1)
XYZxyz(15.5686, 19.2815, 3.3917)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797F10 #16107F
analogous
#7F4D10 #797F10 #417F10
triadic
#797F10 #10797F #7F1079
tetradic
#797F10 #107F4D #16107F #7F1041
square
#797F10 #107F4D #16107F #7F1041
split-complementary
#797F10 #10417F #4D107F
monochromatic
#1A1B03 #454909 #797F10 #ADB517 #D9E426

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797F10#FFFFFF#000000##000000
##797F101.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)
#897B1C
Tritanopia (blue-blind)
#82776C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #797f10;
/* rgb */ color: rgb(121, 127, 16);
/* oklch */ color: oklch(57.2% 0.123 113.1);
Tailwind
colors: {
  custom: {
    50: '#a3a35c',
    500: '#797f10',
    950: '#000000',
  },
}
SCSS
$custom: #797f10;
$custom-light: #a3a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#797f10",
  "rgb": {
    "r": 121,
    "g": 127,
    "b": 16
  },
  "hsl": {
    "h": 63.243,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.1229,
    "h": 113.1
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#797F10
secondary
#3D36B5
accent
#34F43E
background
#FAFAF5
surface
#F4F3E9
border
#CECDC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #797F10

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

Preview Lab → · Contrast checker → · Palette generator →

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