#7D7D2B#7D7D2B

#7D7D2B 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#7D7D2B
RGBrgb(125, 125, 43)
HSLhsl(60, 49%, 33%)
HSVhsv(60, 66%, 49%)
CMYKcmyk(0%, 0%, 65.6%, 51%)
CIE-LABlab(50.92, -11.08, 43.12)
CIE-LCHlch(50.92, 44.52, 104.41°)
OKLaboklab(57.31% -0.0341 0.0977)
OKLCHoklch(57.31% 0.104 109.3)
XYZxyz(16.2276, 19.2021, 5.1366)
Luminance0.1920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D2B #2B2B7D
analogous
#7D542B #7D7D2B #547D2B
triadic
#7D7D2B #2B7D7D #7D2B7D
tetradic
#7D7D2B #2B7D54 #2B2B7D #7D2B54
square
#7D7D2B #2B7D54 #2B2B7D #7D2B54
split-complementary
#7D7D2B #2B547D #542B7D
monochromatic
#22220C #4F4F1B #7D7D2B #ABAB3B #C7C75C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7D2B#FFFFFF#000000##000000
##7D7D2B1.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)
#877820
Deuteranopia (green-blind)
#887B30
Tritanopia (blue-blind)
#86756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d2b;
/* rgb */ color: rgb(125, 125, 43);
/* oklch */ color: oklch(57.3% 0.104 109.3);
Tailwind
colors: {
  custom: {
    50: '#a5a269',
    500: '#7d7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d2b;
$custom-light: #a5a269;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d2b",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 60,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5731,
    "c": 0.10351,
    "h": 109.3
  },
  "luminance": 0.19202
}

Semantic roles & 50–950 ramp

primary
#7D7D2B
secondary
#5757AD
accent
#4FD84F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F06
muted
#7F7E7A

Preview Lab

Preview with #7D7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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