#79772F#79772F

#79772F is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.094 H 107.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#79772F
RGBrgb(121, 119, 47)
HSLhsl(58, 44%, 33%)
HSVhsv(58, 61%, 47%)
CMYKcmyk(0%, 1.7%, 61.2%, 52.5%)
CIE-LABlab(48.84, -9.31, 38.91)
CIE-LCHlch(48.84, 40.01, 103.45°)
OKLaboklab(55.58% -0.0284 0.0895)
OKLCHoklch(55.58% 0.094 107.6)
XYZxyz(14.9955, 17.4643, 5.2698)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79772F #2F3179
analogous
#79522F #79772F #56792F
triadic
#79772F #2F7977 #772F79
tetradic
#79772F #2F7952 #2F3179 #792F56
square
#79772F #2F7952 #2F3179 #792F56
split-complementary
#79772F #2F5679 #522F79
monochromatic
#21200D #4D4C1E #79772F #A5A240 #C2BF61

Accessibility & contrast

On white

4.67
#79772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#79772F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79772F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79772F#FFFFFF#000000##FFFFFF
##79772F1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#827533
Tritanopia (blue-blind)
#817068
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #79772f;
/* rgb */ color: rgb(121, 119, 47);
/* oklch */ color: oklch(55.6% 0.094 107.6);
Tailwind
colors: {
  custom: {
    50: '#a29e6b',
    500: '#79772f',
    950: '#000000',
  },
}
SCSS
$custom: #79772f;
$custom-light: #a29e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#79772f",
  "rgb": {
    "r": 121,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 58.378,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55575,
    "c": 0.0939,
    "h": 107.6
  },
  "luminance": 0.17464
}

Semantic roles & 50–950 ramp

primary
#79772F
secondary
#5B5DA8
accent
#57D454
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #79772F

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

Preview Lab → · Contrast checker → · Palette generator →

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