#7C8723#7C8723

#7C8723 is a mid, vivid yellow. Relative luminance 0.217; OKLCH L 59.5% C 0.121 H 115.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7C8723
RGBrgb(124, 135, 35)
HSLhsl(67, 59%, 33%)
HSVhsv(67, 74%, 53%)
CMYKcmyk(8.1%, 0%, 74.1%, 47.1%)
CIE-LABlab(53.74, -17.37, 49.23)
CIE-LCHlch(53.74, 52.21, 109.43°)
OKLaboklab(59.53% -0.0525 0.1092)
OKLCHoklch(59.53% 0.121 115.7)
XYZxyz(17.2800, 21.7347, 4.8747)
Luminance0.2173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8723 #2E2387
analogous
#876023 #7C8723 #4A8723
triadic
#7C8723 #237C87 #87237C
tetradic
#7C8723 #238760 #2E2387 #87234A
square
#7C8723 #238760 #2E2387 #87234A
split-complementary
#7C8723 #234A87 #602387
monochromatic
#23260A #4F5616 #7C8723 #A9B830 #C4D252

Accessibility & contrast

On white

3.93
#7C8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7C8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8723
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8723#FFFFFF#000000##000000
##7C87231.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#918010
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#847F74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7c8723;
/* rgb */ color: rgb(124, 135, 35);
/* oklch */ color: oklch(59.5% 0.121 115.7);
Tailwind
colors: {
  custom: {
    50: '#a5a965',
    500: '#7c8723',
    950: '#000000',
  },
}
SCSS
$custom: #7c8723;
$custom-light: #a5a965;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8723",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 66.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.12122,
    "h": 115.7
  },
  "luminance": 0.21734
}

Semantic roles & 50–950 ramp

primary
#7C8723
secondary
#5B50B6
accent
#46E257
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8723

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

Preview Lab → · Contrast checker → · Palette generator →

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