#7C751A#7C751A

#7C751A is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.107 H 104.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C751A
RGBrgb(124, 117, 26)
HSLhsl(56, 65%, 29%)
HSVhsv(56, 79%, 49%)
CMYKcmyk(0%, 5.6%, 79%, 51.4%)
CIE-LABlab(48.36, -8.07, 47.43)
CIE-LCHlch(48.36, 48.11, 99.66°)
OKLaboklab(55.21% -0.0275 0.1037)
OKLCHoklch(55.21% 0.107 104.8)
XYZxyz(14.8606, 17.0828, 3.4916)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C751A #1A217C
analogous
#7C441A #7C751A #527C1A
triadic
#7C751A #1A7C75 #751A7C
tetradic
#7C751A #1A7C44 #1A217C #7C1A52
square
#7C751A #1A7C44 #1A217C #7C1A52
split-complementary
#7C751A #1A527C #441A7C
monochromatic
#191805 #49450F #7C751A #AFA525 #D6CB3B

Accessibility & contrast

On white

4.76
#7C751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7C751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C751A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C751A#FFFFFF#000000##FFFFFF
##7C751A1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807105
Deuteranopia (green-blind)
#827521
Tritanopia (blue-blind)
#866C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c751a;
/* rgb */ color: rgb(124, 117, 26);
/* oklch */ color: oklch(55.2% 0.107 104.8);
Tailwind
colors: {
  custom: {
    50: '#a59c5f',
    500: '#7c751a',
    950: '#000000',
  },
}
SCSS
$custom: #7c751a;
$custom-light: #a59c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c751a",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 55.714,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5521,
    "c": 0.10727,
    "h": 104.8
  },
  "luminance": 0.17082
}

Semantic roles & 50–950 ramp

primary
#7C751A
secondary
#424AB0
accent
#4CE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C751A

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

Preview Lab → · Contrast checker → · Palette generator →

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