#7D772F#7D772F

#7D772F is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.093 H 104.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7D772F
RGBrgb(125, 119, 47)
HSLhsl(55, 45%, 34%)
HSVhsv(55, 62%, 49%)
CMYKcmyk(0%, 4.8%, 62.4%, 51%)
CIE-LABlab(49.20, -7.48, 39.41)
CIE-LCHlch(49.20, 40.11, 100.74°)
OKLaboklab(55.95% -0.0235 0.0905)
OKLCHoklch(55.95% 0.093 104.5)
XYZxyz(15.5679, 17.7594, 5.2966)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D772F #2F357D
analogous
#7D502F #7D772F #5C7D2F
triadic
#7D772F #2F7D77 #772F7D
tetradic
#7D772F #2F7D50 #2F357D #7D2F5C
square
#7D772F #2F7D50 #2F357D #7D2F5C
split-complementary
#7D772F #2F5C7D #502F7D
monochromatic
#24220E #514D1E #7D772F #A9A140 #C4BD62

Accessibility & contrast

On white

4.61
#7D772F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7D772F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D772F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D772F#FFFFFF#000000##FFFFFF
##7D772F1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817327
Deuteranopia (green-blind)
#837733
Tritanopia (blue-blind)
#866F68
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7d772f;
/* rgb */ color: rgb(125, 119, 47);
/* oklch */ color: oklch(56.0% 0.093 104.5);
Tailwind
colors: {
  custom: {
    50: '#a59e6b',
    500: '#7d772f',
    950: '#000000',
  },
}
SCSS
$custom: #7d772f;
$custom-light: #a59e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d772f",
  "rgb": {
    "r": 125,
    "g": 119,
    "b": 47
  },
  "hsl": {
    "h": 55.385,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.09346,
    "h": 104.5
  },
  "luminance": 0.17759
}

Semantic roles & 50–950 ramp

primary
#7D772F
secondary
#5D63AB
accent
#5DD553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7D772F

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

Preview Lab → · Contrast checker → · Palette generator →

#7D772F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva