#7C761B#7C761B

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

Color values

HEX#7C761B
RGBrgb(124, 118, 27)
HSLhsl(56, 64%, 30%)
HSVhsv(56, 78%, 49%)
CMYKcmyk(0%, 4.8%, 78.2%, 51.4%)
CIE-LABlab(48.66, -8.58, 47.35)
CIE-LCHlch(48.66, 48.12, 100.27°)
OKLaboklab(55.45% -0.0288 0.1037)
OKLCHoklch(55.45% 0.108 105.5)
XYZxyz(14.9891, 17.3217, 3.5906)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C761B #1B217C
analogous
#7C461B #7C761B #517C1B
triadic
#7C761B #1B7C76 #761B7C
tetradic
#7C761B #1B7C46 #1B217C #7C1B51
square
#7C761B #1B7C46 #1B217C #7C1B51
split-complementary
#7C761B #1B517C #461B7C
monochromatic
#191805 #4A4610 #7C761B #AEA626 #D5CB3D

Accessibility & contrast

On white

4.70
#7C761B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7C761B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C761B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C761B#FFFFFF#000000##FFFFFF
##7C761B1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817107
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#866E65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c761b;
/* rgb */ color: rgb(124, 118, 27);
/* oklch */ color: oklch(55.5% 0.108 105.5);
Tailwind
colors: {
  custom: {
    50: '#a59d5f',
    500: '#7c761b',
    950: '#000000',
  },
}
SCSS
$custom: #7c761b;
$custom-light: #a59d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c761b",
  "rgb": {
    "r": 124,
    "g": 118,
    "b": 27
  },
  "hsl": {
    "h": 56.289,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5545,
    "c": 0.10766,
    "h": 105.5
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#7C761B
secondary
#434AB0
accent
#4BE741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C761B

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

Preview Lab → · Contrast checker → · Palette generator →

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