#7D7C2B#7D7C2B

#7D7C2B is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.102 H 108.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7D7C2B
RGBrgb(125, 124, 43)
HSLhsl(59, 49%, 33%)
HSVhsv(59, 66%, 49%)
CMYKcmyk(0%, 0.8%, 65.6%, 51%)
CIE-LABlab(50.63, -10.53, 42.81)
CIE-LCHlch(50.63, 44.09, 103.82°)
OKLaboklab(57.08% -0.0326 0.0971)
OKLCHoklch(57.08% 0.102 108.6)
XYZxyz(16.1017, 18.9502, 5.0946)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7C2B #2B2C7D
analogous
#7D532B #7D7C2B #557D2B
triadic
#7D7C2B #2B7D7C #7C2B7D
tetradic
#7D7C2B #2B7D53 #2B2C7D #7D2B55
square
#7D7C2B #2B7D53 #2B2C7D #7D2B55
split-complementary
#7D7C2B #2B557D #532B7D
monochromatic
#22220C #4F4F1B #7D7C2B #ABA93B #C7C55C

Accessibility & contrast

On white

4.38
#7D7C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7D7C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D7C2B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D7C2B#FFFFFF#000000##000000
##7D7C2B1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867721
Deuteranopia (green-blind)
#877A30
Tritanopia (blue-blind)
#86746B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d7c2b;
/* rgb */ color: rgb(125, 124, 43);
/* oklch */ color: oklch(57.1% 0.102 108.6);
Tailwind
colors: {
  custom: {
    50: '#a5a169',
    500: '#7d7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #7d7c2b;
$custom-light: #a5a169;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7c2b",
  "rgb": {
    "r": 125,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 59.268,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.10239,
    "h": 108.6
  },
  "luminance": 0.1895
}

Semantic roles & 50–950 ramp

primary
#7D7C2B
secondary
#5758AD
accent
#51D84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7D7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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