#7E761A#7E761A

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

Color values

HEX#7E761A
RGBrgb(126, 118, 26)
HSLhsl(55, 66%, 30%)
HSVhsv(55, 79%, 49%)
CMYKcmyk(0%, 6.3%, 79.4%, 50.6%)
CIE-LABlab(48.84, -7.69, 47.94)
CIE-LCHlch(48.84, 48.55, 99.11°)
OKLaboklab(55.64% -0.0265 0.1047)
OKLCHoklch(55.64% 0.108 104.2)
XYZxyz(15.2698, 17.4677, 3.5444)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E761A #1A227E
analogous
#7E441A #7E761A #547E1A
triadic
#7E761A #1A7E76 #761A7E
tetradic
#7E761A #1A7E44 #1A227E #7E1A54
square
#7E761A #1A7E44 #1A227E #7E1A54
split-complementary
#7E761A #1A547E #441A7E
monochromatic
#191805 #4B4610 #7E761A #B1A624 #D7CA3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E761A#FFFFFF#000000##FFFFFF
##7E761A1.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)
#817204
Deuteranopia (green-blind)
#847621
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e761a;
/* rgb */ color: rgb(126, 118, 26);
/* oklch */ color: oklch(55.6% 0.108 104.2);
Tailwind
colors: {
  custom: {
    50: '#a79d5f',
    500: '#7e761a',
    950: '#000000',
  },
}
SCSS
$custom: #7e761a;
$custom-light: #a79d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e761a",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 26
  },
  "hsl": {
    "h": 55.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.108,
    "h": 104.2
  },
  "luminance": 0.17467
}

Semantic roles & 50–950 ramp

primary
#7E761A
secondary
#424BB2
accent
#4DE93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E761A

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

Preview Lab → · Contrast checker → · Palette generator →

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