#7D7D2D#7D7D2D

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

Color values

HEX#7D7D2D
RGBrgb(125, 125, 45)
HSLhsl(60, 47%, 33%)
HSVhsv(60, 64%, 49%)
CMYKcmyk(0%, 0%, 64%, 51%)
CIE-LABlab(50.94, -10.94, 42.23)
CIE-LCHlch(50.94, 43.63, 104.53°)
OKLaboklab(57.33% -0.0335 0.0962)
OKLCHoklch(57.33% 0.102 109.2)
XYZxyz(16.2652, 19.2171, 5.3346)
Luminance0.1922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D7D2D #2D2D7D
analogous
#7D552D #7D7D2D #557D2D
triadic
#7D7D2D #2D7D7D #7D2D7D
tetradic
#7D7D2D #2D7D55 #2D2D7D #7D2D55
square
#7D7D2D #2D7D55 #2D2D7D #7D2D55
split-complementary
#7D7D2D #2D557D #552D7D
monochromatic
#23230D #50501D #7D7D2D #AAAA3D #C5C55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D7D2D#FFFFFF#000000##000000
##7D7D2D1.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)
#877823
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#86756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d7d2d;
/* rgb */ color: rgb(125, 125, 45);
/* oklch */ color: oklch(57.3% 0.102 109.2);
Tailwind
colors: {
  custom: {
    50: '#a5a26a',
    500: '#7d7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7d7d2d;
$custom-light: #a5a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d7d2d",
  "rgb": {
    "r": 125,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 60,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.10184,
    "h": 109.2
  },
  "luminance": 0.19217
}

Semantic roles & 50–950 ramp

primary
#7D7D2D
secondary
#5A5AAC
accent
#51D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F07
muted
#7F7E7A

Preview Lab

Preview with #7D7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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