#7C7A2D#7C7A2D

#7C7A2D is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.5% C 0.099 H 107.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7C7A2D
RGBrgb(124, 122, 45)
HSLhsl(58, 47%, 33%)
HSVhsv(58, 64%, 49%)
CMYKcmyk(0%, 1.6%, 63.7%, 51.4%)
CIE-LABlab(49.97, -9.75, 41.17)
CIE-LCHlch(49.97, 42.30, 103.32°)
OKLaboklab(56.54% -0.0301 0.0939)
OKLCHoklch(56.54% 0.099 107.8)
XYZxyz(15.7459, 18.3941, 5.2031)
Luminance0.1839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7A2D #2D2F7C
analogous
#7C522D #7C7A2D #567C2D
triadic
#7C7A2D #2D7C7A #7A2D7C
tetradic
#7C7A2D #2D7C52 #2D2F7C #7C2D56
square
#7C7A2D #2D7C52 #2D2F7C #7C2D56
split-complementary
#7C7A2D #2D567C #522D7C
monochromatic
#22220C #4F4E1D #7C7A2D #A9A63D #C5C25F

Accessibility & contrast

On white

4.49
#7C7A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7C7A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7A2D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7A2D#FFFFFF#000000##000000
##7C7A2D1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#847524
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#85726A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7c7a2d;
/* rgb */ color: rgb(124, 122, 45);
/* oklch */ color: oklch(56.5% 0.099 107.8);
Tailwind
colors: {
  custom: {
    50: '#a4a06a',
    500: '#7c7a2d',
    950: '#000000',
  },
}
SCSS
$custom: #7c7a2d;
$custom-light: #a4a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7a2d",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 58.481,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56535,
    "c": 0.09863,
    "h": 107.8
  },
  "luminance": 0.18394
}

Semantic roles & 50–950 ramp

primary
#7C7A2D
secondary
#5A5CAB
accent
#55D651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #7C7A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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