#7C831A#7C831A

#7C831A is a mid, vivid yellow. Relative luminance 0.206; OKLCH L 58.5% C 0.122 H 113.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7C831A
RGBrgb(124, 131, 26)
HSLhsl(64, 67%, 31%)
HSVhsv(64, 80%, 51%)
CMYKcmyk(5.3%, 0%, 80.2%, 48.6%)
CIE-LABlab(52.50, -15.69, 51.20)
CIE-LCHlch(52.50, 53.55, 107.04°)
OKLaboklab(58.51% -0.0487 0.1117)
OKLCHoklch(58.51% 0.122 113.5)
XYZxyz(16.6155, 20.5926, 4.0766)
Luminance0.2059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C831A #211A83
analogous
#83551A #7C831A #47831A
triadic
#7C831A #1A7C83 #831A7C
tetradic
#7C831A #1A8355 #211A83 #831A47
square
#7C831A #1A8355 #211A83 #831A47
split-complementary
#7C831A #1A4783 #551A83
monochromatic
#1B1D06 #4C5010 #7C831A #ACB624 #CFD93F

Accessibility & contrast

On white

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

On black

5.12
#7C831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C831A
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C831A#FFFFFF#000000##000000
##7C831A1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#857B70
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7c831a;
/* rgb */ color: rgb(124, 131, 26);
/* oklch */ color: oklch(58.5% 0.122 113.5);
Tailwind
colors: {
  custom: {
    50: '#a5a661',
    500: '#7c831a',
    950: '#000000',
  },
}
SCSS
$custom: #7c831a;
$custom-light: #a5a661;
$custom-dark: #000000;
JSON
{
  "hex": "#7c831a",
  "rgb": {
    "r": 124,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 64,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58515,
    "c": 0.12187,
    "h": 113.5
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

primary
#7C831A
secondary
#4A42B7
accent
#3EEA49
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7C831A

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

Preview Lab → · Contrast checker → · Palette generator →

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