#7C7C2C#7C7C2C

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

Color values

HEX#7C7C2C
RGBrgb(124, 124, 44)
HSLhsl(60, 48%, 33%)
HSVhsv(60, 65%, 49%)
CMYKcmyk(0%, 0%, 64.5%, 51.4%)
CIE-LABlab(50.55, -10.92, 42.25)
CIE-LCHlch(50.55, 43.63, 104.49°)
OKLaboklab(56.99% -0.0335 0.0961)
OKLCHoklch(56.99% 0.102 109.2)
XYZxyz(15.9750, 18.8827, 5.1856)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7C2C #2C2C7C
analogous
#7C542C #7C7C2C #547C2C
triadic
#7C7C2C #2C7C7C #7C2C7C
tetradic
#7C7C2C #2C7C54 #2C2C7C #7C2C54
square
#7C7C2C #2C7C54 #2C2C7C #7C2C54
split-complementary
#7C7C2C #2C547C #542C7C
monochromatic
#22220C #4F4F1C #7C7C2C #A9A93C #C5C55D

Accessibility & contrast

On white

4.40
#7C7C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7C7C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7C2C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7C2C#FFFFFF#000000##000000
##7C7C2C1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867722
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#85746B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c7c2c;
/* rgb */ color: rgb(124, 124, 44);
/* oklch */ color: oklch(57.0% 0.102 109.2);
Tailwind
colors: {
  custom: {
    50: '#a4a169',
    500: '#7c7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #7c7c2c;
$custom-light: #a4a169;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7c2c",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 60,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56994,
    "c": 0.10174,
    "h": 109.2
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

primary
#7C7C2C
secondary
#5858AC
accent
#51D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #7C7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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