#7C8452#7C8452

#7C8452 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.4% C 0.071 H 116.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7C8452
RGBrgb(124, 132, 82)
HSLhsl(70, 23%, 42%)
HSVhsv(70, 38%, 52%)
CMYKcmyk(6.1%, 0%, 37.9%, 48.2%)
CIE-LABlab(53.38, -11.47, 26.03)
CIE-LCHlch(53.38, 28.44, 113.77°)
OKLaboklab(59.41% -0.0313 0.064)
OKLCHoklch(59.41% 0.071 116)
XYZxyz(18.0865, 21.3970, 11.1582)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8452 #5A5284
analogous
#847352 #7C8452 #638452
triadic
#7C8452 #527C84 #84527C
tetradic
#7C8452 #528473 #5A5284 #845263
square
#7C8452 #528473 #5A5284 #845263
split-complementary
#7C8452 #526384 #735284
monochromatic
#353923 #595E3B #7C8452 #9CA56E #B6BC94

Accessibility & contrast

On white

3.98
#7C8452 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7C8452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8452
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8452#FFFFFF#000000##000000
##7C84521.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4E
Deuteranopia (green-blind)
#8A8054
Tritanopia (blue-blind)
#817F77
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c8452;
/* rgb */ color: rgb(124, 132, 82);
/* oklch */ color: oklch(59.4% 0.071 116.0);
Tailwind
colors: {
  custom: {
    50: '#a2a783',
    500: '#7c8452',
    950: '#000000',
  },
}
SCSS
$custom: #7c8452;
$custom-light: #a2a783;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8452",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 82
  },
  "hsl": {
    "h": 69.6,
    "s": 23.364,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.07125,
    "h": 116
  },
  "luminance": 0.21397
}

Semantic roles & 50–950 ramp

primary
#7C8452
secondary
#8E88AA
accent
#68C076
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F0F0A
muted
#7F7F7C

Preview Lab

Preview with #7C8452

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

Preview Lab → · Contrast checker → · Palette generator →

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