#7D721B#7D721B

#7D721B is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.104 H 101.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7D721B
RGBrgb(125, 114, 27)
HSLhsl(53, 64%, 30%)
HSVhsv(53, 78%, 49%)
CMYKcmyk(0%, 8.8%, 78.4%, 51%)
CIE-LABlab(47.59, -5.87, 46.39)
CIE-LCHlch(47.59, 46.76, 97.22°)
OKLaboklab(54.62% -0.0212 0.1017)
OKLCHoklch(54.62% 0.104 101.8)
XYZxyz(14.6733, 16.4744, 3.4437)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D721B #1B267D
analogous
#7D411B #7D721B #577D1B
triadic
#7D721B #1B7D72 #721B7D
tetradic
#7D721B #1B7D41 #1B267D #7D1B57
square
#7D721B #1B7D41 #1B267D #7D1B57
split-complementary
#7D721B #1B577D #411B7D
monochromatic
#191705 #4B4410 #7D721B #AFA026 #D5C43D

Accessibility & contrast

On white

4.89
#7D721B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7D721B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D721B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D721B#FFFFFF#000000##FFFFFF
##7D721B1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#807321
Tritanopia (blue-blind)
#876961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7d721b;
/* rgb */ color: rgb(125, 114, 27);
/* oklch */ color: oklch(54.6% 0.104 101.8);
Tailwind
colors: {
  custom: {
    50: '#a69a5f',
    500: '#7d721b',
    950: '#000000',
  },
}
SCSS
$custom: #7d721b;
$custom-light: #a69a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d721b",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 53.265,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5462,
    "c": 0.10385,
    "h": 101.8
  },
  "luminance": 0.16474
}

Semantic roles & 50–950 ramp

primary
#7D721B
secondary
#434FB1
accent
#53E740
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7D721B

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

Preview Lab → · Contrast checker → · Palette generator →

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