#7D7223#7D7223

#7D7223 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.098 H 101.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7D7223
RGBrgb(125, 114, 35)
HSLhsl(53, 56%, 31%)
HSVhsv(53, 72%, 49%)
CMYKcmyk(0%, 8.8%, 72%, 51%)
CIE-LABlab(47.65, -5.47, 43.25)
CIE-LCHlch(47.65, 43.59, 97.20°)
OKLaboklab(54.68% -0.0192 0.0966)
OKLCHoklch(54.68% 0.098 101.2)
XYZxyz(14.7788, 16.5166, 3.9993)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7223 #232E7D
analogous
#7D4523 #7D7223 #5B7D23
triadic
#7D7223 #237D72 #72237D
tetradic
#7D7223 #237D45 #232E7D #7D235B
square
#7D7223 #237D45 #232E7D #7D235B
split-complementary
#7D7223 #235B7D #45237D
monochromatic
#1D1B08 #4D4616 #7D7223 #AD9E30 #CDBE4D

Accessibility & contrast

On white

4.88
#7D7223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7D7223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7223
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7223#FFFFFF#000000##FFFFFF
##7D72231.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F17
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#876A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d7223;
/* rgb */ color: rgb(125, 114, 35);
/* oklch */ color: oklch(54.7% 0.098 101.2);
Tailwind
colors: {
  custom: {
    50: '#a69a63',
    500: '#7d7223',
    950: '#000000',
  },
}
SCSS
$custom: #7d7223;
$custom-light: #a69a63;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7223",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 35
  },
  "hsl": {
    "h": 52.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5468,
    "c": 0.09848,
    "h": 101.2
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#7D7223
secondary
#4C58AF
accent
#5BE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7D7223

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

Preview Lab → · Contrast checker → · Palette generator →

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