#7D7D2A#7D7D2A

#7D7D2A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.3% C 0.104 H 109.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D7D2A
RGBrgb(125, 125, 42)
HSLhsl(60, 50%, 33%)
HSVhsv(60, 66%, 49%)
CMYKcmyk(0%, 0%, 66.4%, 51%)
CIE-LABlab(50.91, -11.15, 43.55)
CIE-LCHlch(50.91, 44.96, 104.36°)
OKLaboklab(57.3% -0.0344 0.0985)
OKLCHoklch(57.3% 0.104 109.3)
XYZxyz(16.2095, 19.1948, 5.0411)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D2A #2A2A7D
analogous
#7D532A #7D7D2A #537D2A
triadic
#7D7D2A #2A7D7D #7D2A7D
tetradic
#7D7D2A #2A7D53 #2A2A7D #7D2A53
square
#7D7D2A #2A7D53 #2A2A7D #7D2A53
split-complementary
#7D7D2A #2A537D #532A7D
monochromatic
#21210B #4F4F1B #7D7D2A #ABAB39 #C8C85A

Accessibility & contrast

On white

4.34
#7D7D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7D7D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7D2A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7D2A#FFFFFF#000000##000000
##7D7D2A1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#887B2F
Tritanopia (blue-blind)
#86756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d2a;
/* rgb */ color: rgb(125, 125, 42);
/* oklch */ color: oklch(57.3% 0.104 109.3);
Tailwind
colors: {
  custom: {
    50: '#a5a268',
    500: '#7d7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d2a;
$custom-light: #a5a268;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d2a",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 60,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.10432,
    "h": 109.3
  },
  "luminance": 0.19194
}

Semantic roles & 50–950 ramp

primary
#7D7D2A
secondary
#5656AD
accent
#4FD94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7D7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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