#7D7331#7D7331

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

Color values

HEX#7D7331
RGBrgb(125, 115, 49)
HSLhsl(52, 44%, 34%)
HSVhsv(52, 61%, 49%)
CMYKcmyk(0%, 8%, 60.8%, 51%)
CIE-LABlab(48.06, -5.07, 37.16)
CIE-LCHlch(48.06, 37.50, 97.78°)
OKLaboklab(55.05% -0.0163 0.086)
OKLCHoklch(55.05% 0.087 100.8)
XYZxyz(15.1431, 16.8438, 5.3586)
Luminance0.1684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7331 #313B7D
analogous
#7D4D31 #7D7331 #617D31
triadic
#7D7331 #317D73 #73317D
tetradic
#7D7331 #317D4D #313B7D #7D3161
square
#7D7331 #317D4D #313B7D #7D3161
split-complementary
#7D7331 #31617D #4D317D
monochromatic
#25220F #514B20 #7D7331 #A99B42 #C3B766

Accessibility & contrast

On white

4.81
#7D7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7D7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7331
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7331#FFFFFF#000000##FFFFFF
##7D73311.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d7331;
/* rgb */ color: rgb(125, 115, 49);
/* oklch */ color: oklch(55.1% 0.087 100.8);
Tailwind
colors: {
  custom: {
    50: '#a59b6c',
    500: '#7d7331',
    950: '#000000',
  },
}
SCSS
$custom: #7d7331;
$custom-light: #a59b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7331",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 52.105,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.08749,
    "h": 100.8
  },
  "luminance": 0.16843
}

Semantic roles & 50–950 ramp

primary
#7D7331
secondary
#6069AA
accent
#65D354
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7D7331

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

Preview Lab → · Contrast checker → · Palette generator →

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