#7D7122#7D7122

#7D7122 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.098 H 100.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7D7122
RGBrgb(125, 113, 34)
HSLhsl(52, 57%, 31%)
HSVhsv(52, 73%, 49%)
CMYKcmyk(0%, 9.6%, 72.8%, 51%)
CIE-LABlab(47.35, -4.96, 43.38)
CIE-LCHlch(47.35, 43.66, 96.52°)
OKLaboklab(54.44% -0.0179 0.0967)
OKLCHoklch(54.44% 0.098 100.5)
XYZxyz(14.6520, 16.2864, 3.8849)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7122 #222E7D
analogous
#7D4322 #7D7122 #5B7D22
triadic
#7D7122 #227D71 #71227D
tetradic
#7D7122 #227D43 #222E7D #7D225B
square
#7D7122 #227D43 #222E7D #7D225B
split-complementary
#7D7122 #225B7D #43227D
monochromatic
#1D1A08 #4D4615 #7D7122 #AD9C2F #CEBD4B

Accessibility & contrast

On white

4.93
#7D7122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7D7122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D7122
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7122#FFFFFF#000000##FFFFFF
##7D71221.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E16
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#876961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d7122;
/* rgb */ color: rgb(125, 113, 34);
/* oklch */ color: oklch(54.4% 0.098 100.5);
Tailwind
colors: {
  custom: {
    50: '#a69962',
    500: '#7d7122',
    950: '#000000',
  },
}
SCSS
$custom: #7d7122;
$custom-light: #a69962;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7122",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 52.088,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54442,
    "c": 0.09831,
    "h": 100.5
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#7D7122
secondary
#4B58B0
accent
#5CE047
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #7D7122

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

Preview Lab → · Contrast checker → · Palette generator →

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