#7E761B#7E761B

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

Color values

HEX#7E761B
RGBrgb(126, 118, 27)
HSLhsl(55, 65%, 30%)
HSVhsv(55, 79%, 49%)
CMYKcmyk(0%, 6.3%, 78.6%, 50.6%)
CIE-LABlab(48.85, -7.65, 47.59)
CIE-LCHlch(48.85, 48.20, 99.13°)
OKLaboklab(55.64% -0.0263 0.1042)
OKLCHoklch(55.64% 0.107 104.2)
XYZxyz(15.2811, 17.4722, 3.6043)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E761B #1B237E
analogous
#7E451B #7E761B #547E1B
triadic
#7E761B #1B7E76 #761B7E
tetradic
#7E761B #1B7E45 #1B237E #7E1B54
square
#7E761B #1B7E45 #1B237E #7E1B54
split-complementary
#7E761B #1B547E #451B7E
monochromatic
#191805 #4C4710 #7E761B #B0A526 #D6C93E

Accessibility & contrast

On white

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

On black

4.49
#7E761B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E761B#FFFFFF#000000##FFFFFF
##7E761B1.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)
#817207
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e761b;
/* rgb */ color: rgb(126, 118, 27);
/* oklch */ color: oklch(55.6% 0.107 104.2);
Tailwind
colors: {
  custom: {
    50: '#a79d5f',
    500: '#7e761b',
    950: '#000000',
  },
}
SCSS
$custom: #7e761b;
$custom-light: #a79d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e761b",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 55.152,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.10742,
    "h": 104.2
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#7E761B
secondary
#434CB2
accent
#4EE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E761B

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

Preview Lab → · Contrast checker → · Palette generator →

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