#79852B#79852B

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

Color values

HEX#79852B
RGBrgb(121, 133, 43)
HSLhsl(68, 51%, 35%)
HSVhsv(68, 68%, 52%)
CMYKcmyk(9%, 0%, 67.7%, 47.8%)
CIE-LABlab(52.97, -17.17, 45.15)
CIE-LCHlch(52.97, 48.30, 110.82°)
OKLaboklab(58.86% -0.051 0.1021)
OKLCHoklch(58.86% 0.114 116.5)
XYZxyz(16.7091, 21.0146, 5.4610)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79852B #372B85
analogous
#85642B #79852B #4C852B
triadic
#79852B #2B7985 #852B79
tetradic
#79852B #2B8564 #372B85 #852B4C
square
#79852B #2B8564 #372B85 #852B4C
split-complementary
#79852B #2B4C85 #642B85
monochromatic
#25290D #4F571C #79852B #A3B33A #BDCB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79852B#FFFFFF#000000##000000
##79852B1.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)
#8E7E1F
Deuteranopia (green-blind)
#8D7F31
Tritanopia (blue-blind)
#817E73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #79852b;
/* rgb */ color: rgb(121, 133, 43);
/* oklch */ color: oklch(58.9% 0.114 116.5);
Tailwind
colors: {
  custom: {
    50: '#a2a86a',
    500: '#79852b',
    950: '#000000',
  },
}
SCSS
$custom: #79852b;
$custom-light: #a2a86a;
$custom-dark: #000000;
JSON
{
  "hex": "#79852b",
  "rgb": {
    "r": 121,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 68,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58863,
    "c": 0.11412,
    "h": 116.5
  },
  "luminance": 0.21014
}

Semantic roles & 50–950 ramp

primary
#79852B
secondary
#665BB1
accent
#4DDB60
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #79852B

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

Preview Lab → · Contrast checker → · Palette generator →

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