#7D7323#7D7323

#7D7323 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.099 H 102.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7D7323
RGBrgb(125, 115, 35)
HSLhsl(53, 56%, 31%)
HSVhsv(53, 72%, 49%)
CMYKcmyk(0%, 8%, 72%, 51%)
CIE-LABlab(47.94, -6.03, 43.54)
CIE-LCHlch(47.94, 43.96, 97.88°)
OKLaboklab(54.91% -0.0208 0.0972)
OKLCHoklch(54.91% 0.099 102.1)
XYZxyz(14.8922, 16.7434, 4.0371)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7323 #232D7D
analogous
#7D4623 #7D7323 #5A7D23
triadic
#7D7323 #237D73 #73237D
tetradic
#7D7323 #237D46 #232D7D #7D235A
square
#7D7323 #237D46 #232D7D #7D235A
split-complementary
#7D7323 #235A7D #46237D
monochromatic
#1D1B08 #4D4716 #7D7323 #AD9F30 #CDBF4D

Accessibility & contrast

On white

4.83
#7D7323 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D7323
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7323#FFFFFF#000000##FFFFFF
##7D73231.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F17
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#876B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d7323;
/* rgb */ color: rgb(125, 115, 35);
/* oklch */ color: oklch(54.9% 0.099 102.1);
Tailwind
colors: {
  custom: {
    50: '#a69b63',
    500: '#7d7323',
    950: '#000000',
  },
}
SCSS
$custom: #7d7323;
$custom-light: #a69b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7323",
  "rgb": {
    "r": 125,
    "g": 115,
    "b": 35
  },
  "hsl": {
    "h": 53.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5491,
    "c": 0.09941,
    "h": 102.1
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#7D7323
secondary
#4C57AF
accent
#59E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7323

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

Preview Lab → · Contrast checker → · Palette generator →

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