#7D6722#7D6722

#7D6722 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.2% C 0.091 H 90.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D6722
RGBrgb(125, 103, 34)
HSLhsl(45, 57%, 31%)
HSVhsv(45, 73%, 49%)
CMYKcmyk(0%, 17.6%, 72.8%, 51%)
CIE-LABlab(44.49, 0.79, 40.49)
CIE-LCHlch(44.49, 40.50, 88.88°)
OKLaboklab(52.18% -0.0015 0.0906)
OKLCHoklch(52.18% 0.091 90.9)
XYZxyz(13.5972, 14.1768, 3.5333)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6722 #22387D
analogous
#7D3922 #7D6722 #657D22
triadic
#7D6722 #227D67 #67227D
tetradic
#7D6722 #227D39 #22387D #7D2265
square
#7D6722 #227D39 #22387D #7D2265
split-complementary
#7D6722 #22657D #39227D
monochromatic
#1D1808 #4D3F15 #7D6722 #AD8F2F #CEAE4B

Accessibility & contrast

On white

5.48
#7D6722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7D6722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D6722
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6722#FFFFFF#000000##FFFFFF
##7D67221.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736619
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#875E59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d6722;
/* rgb */ color: rgb(125, 103, 34);
/* oklch */ color: oklch(52.2% 0.091 90.9);
Tailwind
colors: {
  custom: {
    50: '#a69261',
    500: '#7d6722',
    950: '#000000',
  },
}
SCSS
$custom: #7d6722;
$custom-light: #a69261;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6722",
  "rgb": {
    "r": 125,
    "g": 103,
    "b": 34
  },
  "hsl": {
    "h": 45.495,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52177,
    "c": 0.09058,
    "h": 90.9
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#7D6722
secondary
#4B63B0
accent
#6CE047
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D6722

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

Preview Lab → · Contrast checker → · Palette generator →

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