#7C8249#7C8249

#7C8249 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.079 H 113.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C8249
RGBrgb(124, 130, 73)
HSLhsl(66, 28%, 40%)
HSVhsv(66, 44%, 51%)
CMYKcmyk(4.6%, 0%, 43.8%, 49%)
CIE-LABlab(52.65, -11.49, 30.03)
CIE-LCHlch(52.65, 32.16, 110.93°)
OKLaboklab(58.78% -0.032 0.0727)
OKLCHoklch(58.78% 0.079 113.8)
XYZxyz(17.4976, 20.7316, 9.3819)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8249 #4F4982
analogous
#826C49 #7C8249 #5F8249
triadic
#7C8249 #497C82 #82497C
tetradic
#7C8249 #49826C #4F4982 #82495F
square
#7C8249 #49826C #4F4982 #82495F
split-complementary
#7C8249 #495F82 #6C4982
monochromatic
#31341D #575B33 #7C8249 #9FA762 #B7BD89

Accessibility & contrast

On white

4.08
#7C8249 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7C8249 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8249
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8249#FFFFFF#000000##000000
##7C82491.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897D44
Deuteranopia (green-blind)
#897E4C
Tritanopia (blue-blind)
#827C74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8249;
/* rgb */ color: rgb(124, 130, 73);
/* oklch */ color: oklch(58.8% 0.079 113.8);
Tailwind
colors: {
  custom: {
    50: '#a3a67d',
    500: '#7c8249',
    950: '#000000',
  },
}
SCSS
$custom: #7c8249;
$custom-light: #a3a67d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8249",
  "rgb": {
    "r": 124,
    "g": 130,
    "b": 73
  },
  "hsl": {
    "h": 66.316,
    "s": 28.079,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58783,
    "c": 0.0794,
    "h": 113.8
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#7C8249
secondary
#837EA9
accent
#63C46E
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#0F0F09
muted
#7F7F7B

Preview Lab

Preview with #7C8249

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

Preview Lab → · Contrast checker → · Palette generator →

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