#7C731E#7C731E

#7C731E is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.103 H 103.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7C731E
RGBrgb(124, 115, 30)
HSLhsl(54, 61%, 30%)
HSVhsv(54, 76%, 49%)
CMYKcmyk(0%, 7.3%, 75.8%, 51.4%)
CIE-LABlab(47.80, -6.77, 45.42)
CIE-LCHlch(47.80, 45.92, 98.47°)
OKLaboklab(54.77% -0.0234 0.1002)
OKLCHoklch(54.77% 0.103 103.1)
XYZxyz(14.6779, 16.6409, 3.6669)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C731E #1E277C
analogous
#7C441E #7C731E #567C1E
triadic
#7C731E #1E7C73 #731E7C
tetradic
#7C731E #1E7C44 #1E277C #7C1E56
square
#7C731E #1E7C44 #1E277C #7C1E56
split-complementary
#7C731E #1E567C #441E7C
monochromatic
#191806 #4B4512 #7C731E #ADA12A #D1C443

Accessibility & contrast

On white

4.85
#7C731E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7C731E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C731E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C731E#FFFFFF#000000##FFFFFF
##7C731E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#866B62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c731e;
/* rgb */ color: rgb(124, 115, 30);
/* oklch */ color: oklch(54.8% 0.103 103.1);
Tailwind
colors: {
  custom: {
    50: '#a59b61',
    500: '#7c731e',
    950: '#000000',
  },
}
SCSS
$custom: #7c731e;
$custom-light: #a59b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7c731e",
  "rgb": {
    "r": 124,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 54.255,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54773,
    "c": 0.10293,
    "h": 103.1
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#7C731E
secondary
#4650AF
accent
#53E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C731E

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

Preview Lab → · Contrast checker → · Palette generator →

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