#7D831A#7D831A

#7D831A is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.122 H 113.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7D831A
RGBrgb(125, 131, 26)
HSLhsl(63, 67%, 31%)
HSVhsv(63, 80%, 51%)
CMYKcmyk(4.6%, 0%, 80.2%, 48.6%)
CIE-LABlab(52.58, -15.23, 51.30)
CIE-LCHlch(52.58, 53.52, 106.54°)
OKLaboklab(58.6% -0.0475 0.1119)
OKLCHoklch(58.6% 0.122 113)
XYZxyz(16.7607, 20.6675, 4.0834)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D831A #201A83
analogous
#83541A #7D831A #48831A
triadic
#7D831A #1A7D83 #831A7D
tetradic
#7D831A #1A8354 #201A83 #831A48
square
#7D831A #1A8354 #201A83 #831A48
split-complementary
#7D831A #1A4883 #541A83
monochromatic
#1C1D06 #4C5010 #7D831A #AEB624 #D0D93F

Accessibility & contrast

On white

4.09
#7D831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D831A#FFFFFF#000000##000000
##7D831A1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d831a;
/* rgb */ color: rgb(125, 131, 26);
/* oklch */ color: oklch(58.6% 0.122 113.0);
Tailwind
colors: {
  custom: {
    50: '#a6a661',
    500: '#7d831a',
    950: '#000000',
  },
}
SCSS
$custom: #7d831a;
$custom-light: #a6a661;
$custom-dark: #000000;
JSON
{
  "hex": "#7d831a",
  "rgb": {
    "r": 125,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 63.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.12157,
    "h": 113
  },
  "luminance": 0.20667
}

Semantic roles & 50–950 ramp

primary
#7D831A
secondary
#4942B7
accent
#3EEA48
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #7D831A

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

Preview Lab → · Contrast checker → · Palette generator →

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