#7C7941#7C7941

#7C7941 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.6% C 0.077 H 105.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7C7941
RGBrgb(124, 121, 65)
HSLhsl(57, 31%, 37%)
HSVhsv(57, 48%, 49%)
CMYKcmyk(0%, 2.4%, 47.6%, 51.4%)
CIE-LABlab(49.91, -7.41, 30.96)
CIE-LCHlch(49.91, 31.83, 103.47°)
OKLaboklab(56.56% -0.0211 0.0741)
OKLCHoklch(56.56% 0.077 105.9)
XYZxyz(16.1040, 18.3419, 7.6920)
Luminance0.1834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7941 #41447C
analogous
#7C5C41 #7C7941 #627C41
triadic
#7C7941 #417C79 #79417C
tetradic
#7C7941 #417C5C #41447C #7C4162
square
#7C7941 #417C5C #41447C #7C4162
split-complementary
#7C7941 #41627C #5C417C
monochromatic
#2C2B17 #54522C #7C7941 #A4A056 #BBB87D

Accessibility & contrast

On white

4.50
#7C7941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7C7941 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7941
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7941#FFFFFF#000000##000000
##7C79411.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81753C
Deuteranopia (green-blind)
#837844
Tritanopia (blue-blind)
#84736C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7941;
/* rgb */ color: rgb(124, 121, 65);
/* oklch */ color: oklch(56.6% 0.077 105.9);
Tailwind
colors: {
  custom: {
    50: '#a39f77',
    500: '#7c7941',
    950: '#000000',
  },
}
SCSS
$custom: #7c7941;
$custom-light: #a39f77;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7941",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 56.949,
    "s": 31.217,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56559,
    "c": 0.0771,
    "h": 105.9
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#7C7941
secondary
#7376A5
accent
#66C760
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7C7941

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

Preview Lab → · Contrast checker → · Palette generator →

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