#7B771E#7B771E

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

Color values

HEX#7B771E
RGBrgb(123, 119, 30)
HSLhsl(57, 61%, 30%)
HSVhsv(57, 76%, 48%)
CMYKcmyk(0%, 3.3%, 75.6%, 51.8%)
CIE-LABlab(48.88, -9.46, 46.42)
CIE-LCHlch(48.88, 47.37, 101.52°)
OKLaboklab(55.61% -0.0309 0.1024)
OKLCHoklch(55.61% 0.107 106.8)
XYZxyz(15.0001, 17.4989, 3.8155)
Luminance0.1750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B771E #1E227B
analogous
#7B481E #7B771E #517B1E
triadic
#7B771E #1E7B77 #771E7B
tetradic
#7B771E #1E7B48 #1E227B #7B1E51
square
#7B771E #1E7B48 #1E227B #7B1E51
split-complementary
#7B771E #1E517B #481E7B
monochromatic
#191806 #4A4712 #7B771E #ACA72A #D1CB42

Accessibility & contrast

On white

4.67
#7B771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7B771E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B771E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B771E#FFFFFF#000000##FFFFFF
##7B771E1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82720D
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#846F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b771e;
/* rgb */ color: rgb(123, 119, 30);
/* oklch */ color: oklch(55.6% 0.107 106.8);
Tailwind
colors: {
  custom: {
    50: '#a49e61',
    500: '#7b771e',
    950: '#000000',
  },
}
SCSS
$custom: #7b771e;
$custom-light: #a49e61;
$custom-dark: #000000;
JSON
{
  "hex": "#7b771e",
  "rgb": {
    "r": 123,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 57.419,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.55609,
    "c": 0.10696,
    "h": 106.8
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#7B771E
secondary
#464BAE
accent
#4BE444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B771E

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

Preview Lab → · Contrast checker → · Palette generator →

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