#7D8535#7D8535

#7D8535 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.3% C 0.104 H 114.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7D8535
RGBrgb(125, 133, 53)
HSLhsl(66, 43%, 36%)
HSVhsv(66, 60%, 52%)
CMYKcmyk(6%, 0%, 60.2%, 47.8%)
CIE-LABlab(53.38, -14.65, 41.15)
CIE-LCHlch(53.38, 43.68, 109.60°)
OKLaboklab(59.3% -0.0431 0.095)
OKLCHoklch(59.3% 0.104 114.4)
XYZxyz(17.4880, 21.3924, 6.5754)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D8535 #3D3585
analogous
#856535 #7D8535 #558535
triadic
#7D8535 #357D85 #85357D
tetradic
#7D8535 #358565 #3D3585 #853555
square
#7D8535 #358565 #3D3585 #853555
split-complementary
#7D8535 #355585 #653585
monochromatic
#2B2D12 #545924 #7D8535 #A6B146 #BDC66F

Accessibility & contrast

On white

3.98
#7D8535 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7D8535 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D8535
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D8535#FFFFFF#000000##000000
##7D85351.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2C
Deuteranopia (green-blind)
#8E803A
Tritanopia (blue-blind)
#857E74
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d8535;
/* rgb */ color: rgb(125, 133, 53);
/* oklch */ color: oklch(59.3% 0.104 114.4);
Tailwind
colors: {
  custom: {
    50: '#a5a870',
    500: '#7d8535',
    950: '#000000',
  },
}
SCSS
$custom: #7d8535;
$custom-light: #a5a870;
$custom-dark: #000000;
JSON
{
  "hex": "#7d8535",
  "rgb": {
    "r": 125,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 66,
    "s": 43.011,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59301,
    "c": 0.10432,
    "h": 114.4
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

primary
#7D8535
secondary
#6F68AE
accent
#55D362
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#0F0F08
muted
#7F7F7B

Preview Lab

Preview with #7D8535

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

Preview Lab → · Contrast checker → · Palette generator →

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