#7D8631#7D8631

#7D8631 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.109 H 114.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7D8631
RGBrgb(125, 134, 49)
HSLhsl(66, 46%, 36%)
HSVhsv(66, 63%, 53%)
CMYKcmyk(6.7%, 0%, 63.4%, 47.5%)
CIE-LABlab(53.63, -15.50, 43.30)
CIE-LCHlch(53.63, 45.99, 109.70°)
OKLaboklab(59.5% -0.0459 0.099)
OKLCHoklch(59.5% 0.109 114.9)
XYZxyz(17.5373, 21.6322, 6.1567)
Luminance0.2163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8631 #3A3186
analogous
#866431 #7D8631 #528631
triadic
#7D8631 #317D86 #86317D
tetradic
#7D8631 #318664 #3A3186 #863152
square
#7D8631 #318664 #3A3186 #863152
split-complementary
#7D8631 #315286 #643186
monochromatic
#292C10 #535921 #7D8631 #A7B341 #BEC869

Accessibility & contrast

On white

3.94
#7D8631 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#7D8631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8631
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8631#FFFFFF#000000##000000
##7D86311.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F27
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#857E74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d8631;
/* rgb */ color: rgb(125, 134, 49);
/* oklch */ color: oklch(59.5% 0.109 114.9);
Tailwind
colors: {
  custom: {
    50: '#a5a96d',
    500: '#7d8631',
    950: '#000000',
  },
}
SCSS
$custom: #7d8631;
$custom-light: #a5a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8631",
  "rgb": {
    "r": 125,
    "g": 134,
    "b": 49
  },
  "hsl": {
    "h": 66.353,
    "s": 46.448,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.10914,
    "h": 114.9
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#7D8631
secondary
#6B63B0
accent
#52D660
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7D8631

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

Preview Lab → · Contrast checker → · Palette generator →

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