#7C8523#7C8523

#7C8523 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.1% C 0.119 H 114.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7C8523
RGBrgb(124, 133, 35)
HSLhsl(66, 58%, 33%)
HSVhsv(66, 74%, 52%)
CMYKcmyk(6.8%, 0%, 73.7%, 47.8%)
CIE-LABlab(53.15, -16.32, 48.65)
CIE-LCHlch(53.15, 51.32, 108.54°)
OKLaboklab(59.05% -0.0496 0.108)
OKLCHoklch(59.05% 0.119 114.7)
XYZxyz(17.0036, 21.1818, 4.7826)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8523 #2C2385
analogous
#855D23 #7C8523 #4B8523
triadic
#7C8523 #237C85 #85237C
tetradic
#7C8523 #23855D #2C2385 #85234B
square
#7C8523 #23855D #2C2385 #85234B
split-complementary
#7C8523 #234B85 #5D2385
monochromatic
#222409 #4F5516 #7C8523 #A9B530 #C5D151

Accessibility & contrast

On white

4.01
#7C8523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7C8523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8523
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8523#FFFFFF#000000##000000
##7C85231.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E11
Deuteranopia (green-blind)
#8E802B
Tritanopia (blue-blind)
#847D72
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7c8523;
/* rgb */ color: rgb(124, 133, 35);
/* oklch */ color: oklch(59.1% 0.119 114.7);
Tailwind
colors: {
  custom: {
    50: '#a5a865',
    500: '#7c8523',
    950: '#000000',
  },
}
SCSS
$custom: #7c8523;
$custom-light: #a5a865;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8523",
  "rgb": {
    "r": 124,
    "g": 133,
    "b": 35
  },
  "hsl": {
    "h": 65.51,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5905,
    "c": 0.11888,
    "h": 114.7
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#7C8523
secondary
#584FB5
accent
#46E255
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8523

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

Preview Lab → · Contrast checker → · Palette generator →

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