#79811F#79811F

#79811F is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 57.8% C 0.118 H 114.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#79811F
RGBrgb(121, 129, 31)
HSLhsl(65, 61%, 31%)
HSVhsv(65, 76%, 51%)
CMYKcmyk(6.2%, 0%, 76%, 49.4%)
CIE-LABlab(51.68, -15.76, 48.65)
CIE-LCHlch(51.68, 51.14, 107.95°)
OKLaboklab(57.81% -0.0483 0.1074)
OKLCHoklch(57.81% 0.118 114.2)
XYZxyz(15.9832, 19.8647, 4.2884)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79811F #271F81
analogous
#81581F #79811F #48811F
triadic
#79811F #1F7981 #811F79
tetradic
#79811F #1F8158 #271F81 #811F48
square
#79811F #1F8158 #271F81 #811F48
split-complementary
#79811F #1F4881 #581F81
monochromatic
#1C1E07 #4B5013 #79811F #A7B22B #C8D347

Accessibility & contrast

On white

4.22
#79811F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#79811F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79811F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79811F#FFFFFF#000000##000000
##79811F1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0A
Deuteranopia (green-blind)
#8A7C27
Tritanopia (blue-blind)
#81796E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79811f;
/* rgb */ color: rgb(121, 129, 31);
/* oklch */ color: oklch(57.8% 0.118 114.2);
Tailwind
colors: {
  custom: {
    50: '#a3a563',
    500: '#79811f',
    950: '#000000',
  },
}
SCSS
$custom: #79811f;
$custom-light: #a3a563;
$custom-dark: #000000;
JSON
{
  "hex": "#79811f",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 64.898,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57808,
    "c": 0.11773,
    "h": 114.2
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#79811F
secondary
#5148B4
accent
#43E451
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #79811F

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

Preview Lab → · Contrast checker → · Palette generator →

#79811F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva