#7C8323#7C8323

#7C8323 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.6% C 0.117 H 113.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7C8323
RGBrgb(124, 131, 35)
HSLhsl(64, 58%, 33%)
HSVhsv(64, 73%, 51%)
CMYKcmyk(5.3%, 0%, 73.3%, 48.6%)
CIE-LABlab(52.55, -15.26, 48.08)
CIE-LCHlch(52.55, 50.44, 107.61°)
OKLaboklab(58.57% -0.0467 0.1068)
OKLCHoklch(58.57% 0.117 113.6)
XYZxyz(16.7323, 20.6394, 4.6922)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8323 #2A2383
analogous
#835A23 #7C8323 #4C8323
triadic
#7C8323 #237C83 #83237C
tetradic
#7C8323 #23835A #2A2383 #83234C
square
#7C8323 #23835A #2A2383 #83234C
split-complementary
#7C8323 #234C83 #5A2383
monochromatic
#212209 #4E5316 #7C8323 #AAB330 #C7D050

Accessibility & contrast

On white

4.10
#7C8323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7C8323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8323
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8323#FFFFFF#000000##000000
##7C83231.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C12
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#847B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8323;
/* rgb */ color: rgb(124, 131, 35);
/* oklch */ color: oklch(58.6% 0.117 113.6);
Tailwind
colors: {
  custom: {
    50: '#a5a665',
    500: '#7c8323',
    950: '#000000',
  },
}
SCSS
$custom: #7c8323;
$custom-light: #a5a665;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8323",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 35
  },
  "hsl": {
    "h": 64.375,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58573,
    "c": 0.11656,
    "h": 113.6
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#7C8323
secondary
#554EB4
accent
#47E152
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8323

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

Preview Lab → · Contrast checker → · Palette generator →

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