#7C751D#7C751D

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

Color values

HEX#7C751D
RGBrgb(124, 117, 29)
HSLhsl(56, 62%, 30%)
HSVhsv(56, 77%, 49%)
CMYKcmyk(0%, 5.6%, 76.6%, 51.4%)
CIE-LABlab(48.38, -7.93, 46.35)
CIE-LCHlch(48.38, 47.03, 99.71°)
OKLaboklab(55.23% -0.0268 0.102)
OKLCHoklch(55.23% 0.105 104.7)
XYZxyz(14.8959, 17.0970, 3.6776)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C751D #1D247C
analogous
#7C461D #7C751D #537C1D
triadic
#7C751D #1D7C75 #751D7C
tetradic
#7C751D #1D7C46 #1D247C #7C1D53
square
#7C751D #1D7C46 #1D247C #7C1D53
split-complementary
#7C751D #1D537C #461D7C
monochromatic
#191706 #4A4611 #7C751D #AEA429 #D3C841

Accessibility & contrast

On white

4.75
#7C751D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C751D
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C751D#FFFFFF#000000##FFFFFF
##7C751D1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#827523
Tritanopia (blue-blind)
#866D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c751d;
/* rgb */ color: rgb(124, 117, 29);
/* oklch */ color: oklch(55.2% 0.105 104.7);
Tailwind
colors: {
  custom: {
    50: '#a59c60',
    500: '#7c751d',
    950: '#000000',
  },
}
SCSS
$custom: #7c751d;
$custom-light: #a59c60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c751d",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 55.579,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.5523,
    "c": 0.10547,
    "h": 104.7
  },
  "luminance": 0.17096
}

Semantic roles & 50–950 ramp

primary
#7C751D
secondary
#454DB0
accent
#4FE543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C751D

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

Preview Lab → · Contrast checker → · Palette generator →

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