#7C7C3D#7C7C3D

#7C7C3D is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.2% C 0.085 H 108.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C7C3D
RGBrgb(124, 124, 61)
HSLhsl(60, 34%, 36%)
HSVhsv(60, 51%, 49%)
CMYKcmyk(0%, 0%, 50.8%, 51.4%)
CIE-LABlab(50.73, -9.49, 34.08)
CIE-LCHlch(50.73, 35.37, 105.56°)
OKLaboklab(57.2% -0.0275 0.0807)
OKLCHoklch(57.2% 0.085 108.8)
XYZxyz(16.3625, 19.0377, 7.2267)
Luminance0.1904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7C3D #3D3D7C
analogous
#7C5D3D #7C7C3D #5D7C3D
triadic
#7C7C3D #3D7C7C #7C3D7C
tetradic
#7C7C3D #3D7C5D #3D3D7C #7C3D5D
square
#7C7C3D #3D7C5D #3D3D7C #7C3D5D
split-complementary
#7C7C3D #3D5D7C #5D3D7C
monochromatic
#2A2A15 #535329 #7C7C3D #A5A551 #BCBC77

Accessibility & contrast

On white

4.37
#7C7C3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7C7C3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7C3D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7C3D#FFFFFF#000000##000000
##7C7C3D1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857837
Deuteranopia (green-blind)
#867A40
Tritanopia (blue-blind)
#84756E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7c3d;
/* rgb */ color: rgb(124, 124, 61);
/* oklch */ color: oklch(57.2% 0.085 108.8);
Tailwind
colors: {
  custom: {
    50: '#a3a174',
    500: '#7c7c3d',
    950: '#000000',
  },
}
SCSS
$custom: #7c7c3d;
$custom-light: #a3a174;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7c3d",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 61
  },
  "hsl": {
    "h": 60,
    "s": 34.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.08523,
    "h": 108.8
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#7C7C3D
secondary
#6F6FA6
accent
#5ECA5E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0F08
muted
#7F7E7B

Preview Lab

Preview with #7C7C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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