#7C751E#7C751E

#7C751E 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#7C751E
RGBrgb(124, 117, 30)
HSLhsl(56, 61%, 30%)
HSVhsv(56, 76%, 49%)
CMYKcmyk(0%, 5.6%, 75.8%, 51.4%)
CIE-LABlab(48.39, -7.89, 45.98)
CIE-LCHlch(48.39, 46.65, 99.73°)
OKLaboklab(55.24% -0.0265 0.1014)
OKLCHoklch(55.24% 0.105 104.7)
XYZxyz(14.9084, 17.1020, 3.7438)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C751E #1E257C
analogous
#7C461E #7C751E #547C1E
triadic
#7C751E #1E7C75 #751E7C
tetradic
#7C751E #1E7C46 #1E257C #7C1E54
square
#7C751E #1E7C46 #1E257C #7C1E54
split-complementary
#7C751E #1E547C #461E7C
monochromatic
#191806 #4B4712 #7C751E #ADA32A #D1C743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C751E#FFFFFF#000000##FFFFFF
##7C751E1.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)
#80710E
Deuteranopia (green-blind)
#827524
Tritanopia (blue-blind)
#866D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c751e;
/* rgb */ color: rgb(124, 117, 30);
/* oklch */ color: oklch(55.2% 0.105 104.7);
Tailwind
colors: {
  custom: {
    50: '#a59c61',
    500: '#7c751e',
    950: '#000000',
  },
}
SCSS
$custom: #7c751e;
$custom-light: #a59c61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c751e",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 55.532,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55237,
    "c": 0.10484,
    "h": 104.7
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#7C751E
secondary
#464EAF
accent
#50E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C751E

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

Preview Lab → · Contrast checker → · Palette generator →

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