#7C751C#7C751C

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

Color values

HEX#7C751C
RGBrgb(124, 117, 28)
HSLhsl(56, 63%, 30%)
HSVhsv(56, 77%, 49%)
CMYKcmyk(0%, 5.6%, 77.4%, 51.4%)
CIE-LABlab(48.38, -7.98, 46.72)
CIE-LCHlch(48.38, 47.40, 99.69°)
OKLaboklab(55.22% -0.027 0.1026)
OKLCHoklch(55.22% 0.106 104.7)
XYZxyz(14.8837, 17.0921, 3.6135)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C751C #1C237C
analogous
#7C451C #7C751C #537C1C
triadic
#7C751C #1C7C75 #751C7C
tetradic
#7C751C #1C7C45 #1C237C #7C1C53
square
#7C751C #1C7C45 #1C237C #7C1C53
split-complementary
#7C751C #1C537C #451C7C
monochromatic
#191806 #4A4611 #7C751C #AEA427 #D4C93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C751C#FFFFFF#000000##FFFFFF
##7C751C1.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)
#807109
Deuteranopia (green-blind)
#827523
Tritanopia (blue-blind)
#866D64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c751c;
/* rgb */ color: rgb(124, 117, 28);
/* oklch */ color: oklch(55.2% 0.106 104.7);
Tailwind
colors: {
  custom: {
    50: '#a59c60',
    500: '#7c751c',
    950: '#000000',
  },
}
SCSS
$custom: #7c751c;
$custom-light: #a59c60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c751c",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 28
  },
  "hsl": {
    "h": 55.625,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55223,
    "c": 0.1061,
    "h": 104.7
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#7C751C
secondary
#444CB0
accent
#4EE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C751C

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

Preview Lab → · Contrast checker → · Palette generator →

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