#7E761C#7E761C

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

Color values

HEX#7E761C
RGBrgb(126, 118, 28)
HSLhsl(55, 64%, 30%)
HSVhsv(55, 78%, 49%)
CMYKcmyk(0%, 6.3%, 77.8%, 50.6%)
CIE-LABlab(48.86, -7.60, 47.24)
CIE-LCHlch(48.86, 47.84, 99.14°)
OKLaboklab(55.65% -0.026 0.1036)
OKLCHoklch(55.65% 0.107 104.1)
XYZxyz(15.2929, 17.4770, 3.6662)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E761C #1C247E
analogous
#7E451C #7E761C #557E1C
triadic
#7E761C #1C7E76 #761C7E
tetradic
#7E761C #1C7E45 #1C247E #7E1C55
square
#7E761C #1C7E45 #1C247E #7E1C55
split-complementary
#7E761C #1C557E #451C7E
monochromatic
#1A1806 #4C4711 #7E761C #B0A527 #D5C840

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E761C#FFFFFF#000000##FFFFFF
##7E761C1.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)
#817209
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e761c;
/* rgb */ color: rgb(126, 118, 28);
/* oklch */ color: oklch(55.6% 0.107 104.1);
Tailwind
colors: {
  custom: {
    50: '#a79d60',
    500: '#7e761c',
    950: '#000000',
  },
}
SCSS
$custom: #7e761c;
$custom-light: #a79d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e761c",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 28
  },
  "hsl": {
    "h": 55.102,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.10683,
    "h": 104.1
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#7E761C
secondary
#444DB2
accent
#4FE741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E761C

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

Preview Lab → · Contrast checker → · Palette generator →

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