#79812F#79812F

#79812F is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 57.9% C 0.106 H 114.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#79812F
RGBrgb(121, 129, 47)
HSLhsl(66, 47%, 35%)
HSVhsv(66, 64%, 51%)
CMYKcmyk(6.2%, 0%, 63.6%, 49.4%)
CIE-LABlab(51.80, -14.76, 42.14)
CIE-LCHlch(51.80, 44.65, 109.30°)
OKLaboklab(57.94% -0.0438 0.0964)
OKLCHoklch(57.94% 0.106 114.4)
XYZxyz(16.2489, 19.9710, 5.6876)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79812F #372F81
analogous
#81602F #79812F #50812F
triadic
#79812F #2F7981 #812F79
tetradic
#79812F #2F8160 #372F81 #812F50
square
#79812F #2F8160 #372F81 #812F50
split-complementary
#79812F #2F5081 #602F81
monochromatic
#25270E #4F541F #79812F #A3AE3F #BDC664

Accessibility & contrast

On white

4.20
#79812F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#79812F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79812F
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79812F#FFFFFF#000000##000000
##79812F1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#8A7C34
Tritanopia (blue-blind)
#817A70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #79812f;
/* rgb */ color: rgb(121, 129, 47);
/* oklch */ color: oklch(57.9% 0.106 114.4);
Tailwind
colors: {
  custom: {
    50: '#a2a56b',
    500: '#79812f',
    950: '#000000',
  },
}
SCSS
$custom: #79812f;
$custom-light: #a2a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#79812f",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 65.854,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57943,
    "c": 0.10586,
    "h": 114.4
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#79812F
secondary
#665EAD
accent
#52D65F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79812F

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

Preview Lab → · Contrast checker → · Palette generator →

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