#7C7D2D#7C7D2D

#7C7D2D is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.2% C 0.102 H 109.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7C7D2D
RGBrgb(124, 125, 45)
HSLhsl(61, 47%, 33%)
HSVhsv(61, 64%, 49%)
CMYKcmyk(0.8%, 0%, 64%, 51%)
CIE-LABlab(50.85, -11.40, 42.11)
CIE-LCHlch(50.85, 43.63, 105.14°)
OKLaboklab(57.24% -0.0348 0.0959)
OKLCHoklch(57.24% 0.102 109.9)
XYZxyz(16.1199, 19.1422, 5.3278)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D2D #2E2D7D
analogous
#7D562D #7C7D2D #547D2D
triadic
#7C7D2D #2D7C7D #7D2D7C
tetradic
#7C7D2D #2D7D56 #2E2D7D #7D2D54
square
#7C7D2D #2D7D56 #2E2D7D #7D2D54
split-complementary
#7C7D2D #2D547D #562D7D
monochromatic
#23230D #4F501D #7C7D2D #A9AA3D #C4C55F

Accessibility & contrast

On white

4.35
#7C7D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7C7D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7D2D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7D2D#FFFFFF#000000##000000
##7C7D2D1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#887A32
Tritanopia (blue-blind)
#84756C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7d2d;
/* rgb */ color: rgb(124, 125, 45);
/* oklch */ color: oklch(57.2% 0.102 109.9);
Tailwind
colors: {
  custom: {
    50: '#a4a26a',
    500: '#7c7d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d2d;
$custom-light: #a4a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d2d",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 45
  },
  "hsl": {
    "h": 60.75,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57239,
    "c": 0.10203,
    "h": 109.9
  },
  "luminance": 0.19142
}

Semantic roles & 50–950 ramp

primary
#7C7D2D
secondary
#5B5AAC
accent
#51D753
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F07
muted
#7F7E7A

Preview Lab

Preview with #7C7D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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