#7B761D#7B761D

#7B761D is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.4% C 0.107 H 106.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B761D
RGBrgb(123, 118, 29)
HSLhsl(57, 62%, 30%)
HSVhsv(57, 76%, 48%)
CMYKcmyk(0%, 4.1%, 76.4%, 51.8%)
CIE-LABlab(48.58, -8.96, 46.51)
CIE-LCHlch(48.58, 47.37, 100.90°)
OKLaboklab(55.37% -0.0296 0.1024)
OKLCHoklch(55.37% 0.107 106.1)
XYZxyz(14.8692, 17.2571, 3.7099)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B761D #1D227B
analogous
#7B471D #7B761D #517B1D
triadic
#7B761D #1D7B76 #761D7B
tetradic
#7B761D #1D7B47 #1D227B #7B1D51
square
#7B761D #1D7B47 #1D227B #7B1D51
split-complementary
#7B761D #1D517B #471D7B
monochromatic
#191806 #494611 #7B761D #ADA629 #D2CA40

Accessibility & contrast

On white

4.72
#7B761D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7B761D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B761D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B761D#FFFFFF#000000##FFFFFF
##7B761D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710B
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#846E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b761d;
/* rgb */ color: rgb(123, 118, 29);
/* oklch */ color: oklch(55.4% 0.107 106.1);
Tailwind
colors: {
  custom: {
    50: '#a49d60',
    500: '#7b761d',
    950: '#000000',
  },
}
SCSS
$custom: #7b761d;
$custom-light: #a49d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7b761d",
  "rgb": {
    "r": 123,
    "g": 118,
    "b": 29
  },
  "hsl": {
    "h": 56.809,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55367,
    "c": 0.10659,
    "h": 106.1
  },
  "luminance": 0.17257
}

Semantic roles & 50–950 ramp

primary
#7B761D
secondary
#454BAF
accent
#4BE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7B761D

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

Preview Lab → · Contrast checker → · Palette generator →

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