#7C8624#7C8624

#7C8624 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.3% C 0.119 H 115.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7C8624
RGBrgb(124, 134, 36)
HSLhsl(66, 58%, 33%)
HSVhsv(66, 73%, 53%)
CMYKcmyk(7.5%, 0%, 73.1%, 47.5%)
CIE-LABlab(53.45, -16.79, 48.57)
CIE-LCHlch(53.45, 51.39, 109.07°)
OKLaboklab(59.3% -0.0508 0.108)
OKLCHoklch(59.3% 0.119 115.2)
XYZxyz(17.1562, 21.4629, 4.9077)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8624 #2E2486
analogous
#865F24 #7C8624 #4B8624
triadic
#7C8624 #247C86 #86247C
tetradic
#7C8624 #24865F #2E2486 #86244B
square
#7C8624 #24865F #2E2486 #86244B
split-complementary
#7C8624 #244B86 #5F2486
monochromatic
#23260A #4F5617 #7C8624 #A9B631 #C4D153

Accessibility & contrast

On white

3.97
#7C8624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7C8624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8624
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8624#FFFFFF#000000##000000
##7C86241.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#847E73
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c8624;
/* rgb */ color: rgb(124, 134, 36);
/* oklch */ color: oklch(59.3% 0.119 115.2);
Tailwind
colors: {
  custom: {
    50: '#a5a966',
    500: '#7c8624',
    950: '#000000',
  },
}
SCSS
$custom: #7c8624;
$custom-light: #a5a966;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8624",
  "rgb": {
    "r": 124,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 66.122,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.11939,
    "h": 115.2
  },
  "luminance": 0.21463
}

Semantic roles & 50–950 ramp

primary
#7C8624
secondary
#5B51B5
accent
#47E157
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8624

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

Preview Lab → · Contrast checker → · Palette generator →

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