#7D7328#7D7328

#7D7328 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.0% C 0.096 H 101.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D7328
RGBrgb(125, 115, 40)
HSLhsl(53, 52%, 32%)
HSVhsv(53, 68%, 49%)
CMYKcmyk(0%, 8%, 68%, 51%)
CIE-LABlab(47.98, -5.73, 41.38)
CIE-LCHlch(47.98, 41.77, 97.88°)
OKLaboklab(54.96% -0.0193 0.0935)
OKLCHoklch(54.96% 0.096 101.7)
XYZxyz(14.9718, 16.7753, 4.4564)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7328 #28327D
analogous
#7D4828 #7D7328 #5D7D28
triadic
#7D7328 #287D73 #73287D
tetradic
#7D7328 #287D48 #28327D #7D285D
square
#7D7328 #287D48 #28327D #7D285D
split-complementary
#7D7328 #285D7D #48287D
monochromatic
#201E0A #4F4819 #7D7328 #AB9E37 #C9BC56

Accessibility & contrast

On white

4.82
#7D7328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7D7328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7328
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7328#FFFFFF#000000##FFFFFF
##7D73281.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F1E
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#876B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7328;
/* rgb */ color: rgb(125, 115, 40);
/* oklch */ color: oklch(55.0% 0.096 101.7);
Tailwind
colors: {
  custom: {
    50: '#a59b66',
    500: '#7d7328',
    950: '#000000',
  },
}
SCSS
$custom: #7d7328;
$custom-light: #a59b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7328",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 52.941,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.09552,
    "h": 101.7
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

primary
#7D7328
secondary
#535DAE
accent
#5EDB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #7D7328

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

Preview Lab → · Contrast checker → · Palette generator →

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