#7C7331#7C7331

#7C7331 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.087 H 101.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7C7331
RGBrgb(124, 115, 49)
HSLhsl(53, 43%, 34%)
HSVhsv(53, 60%, 49%)
CMYKcmyk(0%, 7.3%, 60.5%, 51.4%)
CIE-LABlab(47.97, -5.53, 37.03)
CIE-LCHlch(47.97, 37.44, 98.50°)
OKLaboklab(54.95% -0.0176 0.0857)
OKLCHoklch(54.95% 0.087 101.6)
XYZxyz(14.9978, 16.7689, 5.3518)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7331 #313A7C
analogous
#7C4E31 #7C7331 #607C31
triadic
#7C7331 #317C73 #73317C
tetradic
#7C7331 #317C4E #313A7C #7C3160
square
#7C7331 #317C4E #313A7C #7C3160
split-complementary
#7C7331 #31607C #4E317C
monochromatic
#24220E #504A20 #7C7331 #A89C42 #C2B765

Accessibility & contrast

On white

4.82
#7C7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7C7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7331
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7331#FFFFFF#000000##FFFFFF
##7C73311.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D702A
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#856B65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c7331;
/* rgb */ color: rgb(124, 115, 49);
/* oklch */ color: oklch(55.0% 0.087 101.6);
Tailwind
colors: {
  custom: {
    50: '#a49b6c',
    500: '#7c7331',
    950: '#000000',
  },
}
SCSS
$custom: #7c7331;
$custom-light: #a49b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7331",
  "rgb": {
    "r": 124,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 52.8,
    "s": 43.353,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54954,
    "c": 0.08748,
    "h": 101.6
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#7C7331
secondary
#5F68AA
accent
#64D355
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C7331

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

Preview Lab → · Contrast checker → · Palette generator →

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