#7D761B#7D761B

#7D761B is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.108 H 104.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7D761B
RGBrgb(125, 118, 27)
HSLhsl(56, 64%, 30%)
HSVhsv(56, 78%, 49%)
CMYKcmyk(0%, 5.6%, 78.4%, 51%)
CIE-LABlab(48.76, -8.11, 47.47)
CIE-LCHlch(48.76, 48.16, 99.70°)
OKLaboklab(55.55% -0.0275 0.104)
OKLCHoklch(55.55% 0.108 104.8)
XYZxyz(15.1344, 17.3966, 3.5974)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D761B #1B227D
analogous
#7D451B #7D761B #537D1B
triadic
#7D761B #1B7D76 #761B7D
tetradic
#7D761B #1B7D45 #1B227D #7D1B53
square
#7D761B #1B7D45 #1B227D #7D1B53
split-complementary
#7D761B #1B537D #451B7D
monochromatic
#191805 #4B4610 #7D761B #AFA626 #D5CA3D

Accessibility & contrast

On white

4.69
#7D761B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D761B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D761B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D761B#FFFFFF#000000##FFFFFF
##7D761B1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817207
Deuteranopia (green-blind)
#837622
Tritanopia (blue-blind)
#876D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d761b;
/* rgb */ color: rgb(125, 118, 27);
/* oklch */ color: oklch(55.5% 0.108 104.8);
Tailwind
colors: {
  custom: {
    50: '#a69d5f',
    500: '#7d761b',
    950: '#000000',
  },
}
SCSS
$custom: #7d761b;
$custom-light: #a69d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d761b",
  "rgb": {
    "r": 125,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 55.714,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55546,
    "c": 0.10754,
    "h": 104.8
  },
  "luminance": 0.17396
}

Semantic roles & 50–950 ramp

primary
#7D761B
secondary
#434BB1
accent
#4CE740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D761B

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

Preview Lab → · Contrast checker → · Palette generator →

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