#79852A#79852A

#79852A is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 58.9% C 0.115 H 116.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#79852A
RGBrgb(121, 133, 42)
HSLhsl(68, 52%, 34%)
HSVhsv(68, 68%, 52%)
CMYKcmyk(9%, 0%, 68.4%, 47.8%)
CIE-LABlab(52.96, -17.24, 45.57)
CIE-LCHlch(52.96, 48.72, 110.72°)
OKLaboklab(58.85% -0.0513 0.1028)
OKLCHoklch(58.85% 0.115 116.5)
XYZxyz(16.6910, 21.0074, 5.3656)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79852A #362A85
analogous
#85642A #79852A #4C852A
triadic
#79852A #2A7985 #852A79
tetradic
#79852A #2A8564 #362A85 #852A4C
square
#79852A #2A8564 #362A85 #852A4C
split-complementary
#79852A #2A4C85 #642A85
monochromatic
#24280D #4F561B #79852A #A3B439 #BDCC5D

Accessibility & contrast

On white

4.04
#79852A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#79852A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79852A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79852A#FFFFFF#000000##000000
##79852A1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1D
Deuteranopia (green-blind)
#8D7F31
Tritanopia (blue-blind)
#817D73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79852a;
/* rgb */ color: rgb(121, 133, 42);
/* oklch */ color: oklch(58.9% 0.115 116.5);
Tailwind
colors: {
  custom: {
    50: '#a2a869',
    500: '#79852a',
    950: '#000000',
  },
}
SCSS
$custom: #79852a;
$custom-light: #a2a869;
$custom-dark: #000000;
JSON
{
  "hex": "#79852a",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 67.912,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58854,
    "c": 0.11489,
    "h": 116.5
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

primary
#79852A
secondary
#6559B2
accent
#4CDB5F
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79852A

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

Preview Lab → · Contrast checker → · Palette generator →

#79852A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva