#7C8422#7C8422

#7C8422 is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 58.8% C 0.118 H 114.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7C8422
RGBrgb(124, 132, 34)
HSLhsl(65, 59%, 33%)
HSVhsv(65, 74%, 52%)
CMYKcmyk(6.1%, 0%, 74.2%, 48.2%)
CIE-LABlab(52.84, -15.84, 48.74)
CIE-LCHlch(52.84, 51.25, 108.01°)
OKLaboklab(58.8% -0.0484 0.108)
OKLCHoklch(58.8% 0.118 114.1)
XYZxyz(16.8527, 20.9034, 4.6601)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C8422 #2A2284
analogous
#845B22 #7C8422 #4B8422
triadic
#7C8422 #227C84 #84227C
tetradic
#7C8422 #22845B #2A2284 #84224B
square
#7C8422 #22845B #2A2284 #84224B
split-complementary
#7C8422 #224B84 #5B2284
monochromatic
#212309 #4E5315 #7C8422 #AAB52F #C7D24F

Accessibility & contrast

On white

4.05
#7C8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7C8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C8422
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C8422#FFFFFF#000000##000000
##7C84221.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0F
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#847C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c8422;
/* rgb */ color: rgb(124, 132, 34);
/* oklch */ color: oklch(58.8% 0.118 114.1);
Tailwind
colors: {
  custom: {
    50: '#a5a765',
    500: '#7c8422',
    950: '#000000',
  },
}
SCSS
$custom: #7c8422;
$custom-light: #a5a765;
$custom-dark: #000000;
JSON
{
  "hex": "#7c8422",
  "rgb": {
    "r": 124,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 64.898,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.11836,
    "h": 114.1
  },
  "luminance": 0.20903
}

Semantic roles & 50–950 ramp

primary
#7C8422
secondary
#554DB5
accent
#46E252
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #7C8422

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

Preview Lab → · Contrast checker → · Palette generator →

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