#7C751F#7C751F

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

Color values

HEX#7C751F
RGBrgb(124, 117, 31)
HSLhsl(55, 60%, 30%)
HSVhsv(55, 75%, 49%)
CMYKcmyk(0%, 5.6%, 75%, 51.4%)
CIE-LABlab(48.39, -7.84, 45.60)
CIE-LCHlch(48.39, 46.27, 99.75°)
OKLaboklab(55.24% -0.0263 0.1008)
OKLCHoklch(55.24% 0.104 104.6)
XYZxyz(14.9214, 17.1072, 3.8121)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C751F #1F267C
analogous
#7C461F #7C751F #547C1F
triadic
#7C751F #1F7C75 #751F7C
tetradic
#7C751F #1F7C46 #1F267C #7C1F54
square
#7C751F #1F7C46 #1F267C #7C1F54
split-complementary
#7C751F #1F547C #461F7C
monochromatic
#1A1907 #4B4713 #7C751F #ADA32B #D0C645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C751F#FFFFFF#000000##FFFFFF
##7C751F1.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)
#807110
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#866D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c751f;
/* rgb */ color: rgb(124, 117, 31);
/* oklch */ color: oklch(55.2% 0.104 104.6);
Tailwind
colors: {
  custom: {
    50: '#a59c61',
    500: '#7c751f',
    950: '#000000',
  },
}
SCSS
$custom: #7c751f;
$custom-light: #a59c61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c751f",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 55.484,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55244,
    "c": 0.10419,
    "h": 104.6
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#7C751F
secondary
#484FAF
accent
#51E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7C751F

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

Preview Lab → · Contrast checker → · Palette generator →

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