#7D7545#7D7545

#7D7545 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.8% C 0.068 H 100.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7D7545
RGBrgb(125, 117, 69)
HSLhsl(51, 29%, 38%)
HSVhsv(51, 45%, 49%)
CMYKcmyk(0%, 6.4%, 44.8%, 51%)
CIE-LABlab(48.90, -4.28, 27.53)
CIE-LCHlch(48.90, 27.86, 98.83°)
OKLaboklab(55.8% -0.0118 0.0668)
OKLCHoklch(55.8% 0.068 100)
XYZxyz(15.8933, 17.5127, 8.1722)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7545 #454D7D
analogous
#7D5945 #7D7545 #697D45
triadic
#7D7545 #457D75 #75457D
tetradic
#7D7545 #457D59 #454D7D #7D4569
square
#7D7545 #457D59 #454D7D #7D4569
split-complementary
#7D7545 #45697D #59457D
monochromatic
#2E2B19 #56502F #7D7545 #A49A5B #BAB282

Accessibility & contrast

On white

4.66
#7D7545 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7D7545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7545
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7545#FFFFFF#000000##FFFFFF
##7D75451.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7241
Deuteranopia (green-blind)
#807647
Tritanopia (blue-blind)
#856F69
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d7545;
/* rgb */ color: rgb(125, 117, 69);
/* oklch */ color: oklch(55.8% 0.068 100.0);
Tailwind
colors: {
  custom: {
    50: '#a49c79',
    500: '#7d7545',
    950: '#000000',
  },
}
SCSS
$custom: #7d7545;
$custom-light: #a49c79;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7545",
  "rgb": {
    "r": 125,
    "g": 117,
    "b": 69
  },
  "hsl": {
    "h": 51.429,
    "s": 28.866,
    "l": 38.039
  },
  "oklch": {
    "l": 0.558,
    "c": 0.06779,
    "h": 100
  },
  "luminance": 0.17512
}

Semantic roles & 50–950 ramp

primary
#7D7545
secondary
#787FA6
accent
#71C563
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #7D7545

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

Preview Lab → · Contrast checker → · Palette generator →

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