#7C7145#7C7145

#7C7145 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.8% C 0.063 H 95.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7C7145
RGBrgb(124, 113, 69)
HSLhsl(48, 28%, 38%)
HSVhsv(48, 44%, 49%)
CMYKcmyk(0%, 8.9%, 44.4%, 51.4%)
CIE-LABlab(47.66, -2.44, 25.94)
CIE-LCHlch(47.66, 26.05, 95.37°)
OKLaboklab(54.79% -0.0064 0.0632)
OKLCHoklch(54.79% 0.063 95.8)
XYZxyz(15.2919, 16.5255, 8.0133)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7145 #45507C
analogous
#7C5545 #7C7145 #6B7C45
triadic
#7C7145 #457C71 #71457C
tetradic
#7C7145 #457C55 #45507C #7C456B
square
#7C7145 #457C55 #45507C #7C456B
split-complementary
#7C7145 #456B7C #55457C
monochromatic
#2D2919 #554D2F #7C7145 #A3955B #B9AE82

Accessibility & contrast

On white

4.88
#7C7145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7C7145 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7145
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7145#FFFFFF#000000##FFFFFF
##7C71451.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#7C7347
Tritanopia (blue-blind)
#846B66
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c7145;
/* rgb */ color: rgb(124, 113, 69);
/* oklch */ color: oklch(54.8% 0.063 95.8);
Tailwind
colors: {
  custom: {
    50: '#a39979',
    500: '#7c7145',
    950: '#000000',
  },
}
SCSS
$custom: #7c7145;
$custom-light: #a39979;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7145",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 69
  },
  "hsl": {
    "h": 48,
    "s": 28.497,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.06348,
    "h": 95.8
  },
  "luminance": 0.16525
}

Semantic roles & 50–950 ramp

primary
#7C7145
secondary
#7881A5
accent
#77C563
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7C7145

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

Preview Lab → · Contrast checker → · Palette generator →

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