#7C8322#7C8322

#7C8322 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#7C8322
RGBrgb(124, 131, 34)
HSLhsl(64, 59%, 32%)
HSVhsv(64, 74%, 51%)
CMYKcmyk(5.3%, 0%, 74%, 48.6%)
CIE-LABlab(52.55, -15.31, 48.45)
CIE-LCHlch(52.55, 50.81, 107.54°)
OKLaboklab(58.57% -0.0469 0.1074)
OKLCHoklch(58.57% 0.117 113.6)
XYZxyz(16.7177, 20.6335, 4.6151)
Luminance0.2063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8322 #292283
analogous
#835A22 #7C8322 #4B8322
triadic
#7C8322 #227C83 #83227C
tetradic
#7C8322 #22835A #292283 #83224B
square
#7C8322 #22835A #292283 #83224B
split-complementary
#7C8322 #224B83 #5A2283
monochromatic
#202209 #4E5215 #7C8322 #AAB42F #C8D14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C8322#FFFFFF#000000##000000
##7C83221.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)
#8D7C10
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#857B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c8322;
/* rgb */ color: rgb(124, 131, 34);
/* oklch */ color: oklch(58.6% 0.117 113.6);
Tailwind
colors: {
  custom: {
    50: '#a5a664',
    500: '#7c8322',
    950: '#000000',
  },
}
SCSS
$custom: #7c8322;
$custom-light: #a5a664;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8322",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 34
  },
  "hsl": {
    "h": 64.33,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.11721,
    "h": 113.6
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

primary
#7C8322
secondary
#544CB4
accent
#46E251
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8322

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

Preview Lab → · Contrast checker → · Palette generator →

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