#7D8435#7D8435

#7D8435 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.1% C 0.103 H 113.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7D8435
RGBrgb(125, 132, 53)
HSLhsl(65, 43%, 36%)
HSVhsv(65, 60%, 52%)
CMYKcmyk(5.3%, 0%, 59.8%, 48.2%)
CIE-LABlab(53.08, -14.12, 40.82)
CIE-LCHlch(53.08, 43.19, 109.08°)
OKLaboklab(59.06% -0.0416 0.0943)
OKLCHoklch(59.06% 0.103 113.8)
XYZxyz(17.3517, 21.1198, 6.5299)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8435 #3C3584
analogous
#846435 #7D8435 #568435
triadic
#7D8435 #357D84 #84357D
tetradic
#7D8435 #358464 #3C3584 #843556
square
#7D8435 #358464 #3C3584 #843556
split-complementary
#7D8435 #355684 #643584
monochromatic
#2A2D12 #545823 #7D8435 #A6B047 #BDC56E

Accessibility & contrast

On white

4.02
#7D8435 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#7D8435 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8435
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8435#FFFFFF#000000##000000
##7D84351.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E2C
Deuteranopia (green-blind)
#8D803A
Tritanopia (blue-blind)
#857D73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d8435;
/* rgb */ color: rgb(125, 132, 53);
/* oklch */ color: oklch(59.1% 0.103 113.8);
Tailwind
colors: {
  custom: {
    50: '#a5a76f',
    500: '#7d8435',
    950: '#000000',
  },
}
SCSS
$custom: #7d8435;
$custom-light: #a5a76f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8435",
  "rgb": {
    "r": 125,
    "g": 132,
    "b": 53
  },
  "hsl": {
    "h": 65.316,
    "s": 42.703,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59064,
    "c": 0.10306,
    "h": 113.8
  },
  "luminance": 0.2112
}

Semantic roles & 50–950 ramp

primary
#7D8435
secondary
#6E68AD
accent
#55D260
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #7D8435

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

Preview Lab → · Contrast checker → · Palette generator →

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