#756E17#756E17

#756E17 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 52.9% C 0.103 H 104.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#756E17
RGBrgb(117, 110, 23)
HSLhsl(56, 67%, 27%)
HSVhsv(56, 80%, 46%)
CMYKcmyk(0%, 6%, 80.3%, 54.1%)
CIE-LABlab(45.63, -7.58, 45.74)
CIE-LCHlch(45.63, 46.36, 99.41°)
OKLaboklab(52.87% -0.026 0.0998)
OKLCHoklch(52.87% 0.103 104.6)
XYZxyz(13.0673, 14.9962, 3.0167)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756E17 #171E75
analogous
#753F17 #756E17 #4D7517
triadic
#756E17 #17756E #6E1775
tetradic
#756E17 #17753F #171E75 #75174D
square
#756E17 #17753F #171E75 #75174D
split-complementary
#756E17 #174D75 #3F1775
monochromatic
#1A1805 #423E0D #756E17 #A89E21 #D6CA30

Accessibility & contrast

On white

5.25
#756E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#756E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756E17
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756E17#FFFFFF#000000##FFFFFF
##756E171.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A03
Deuteranopia (green-blind)
#7B6E1E
Tritanopia (blue-blind)
#7E665E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #756e17;
/* rgb */ color: rgb(117, 110, 23);
/* oklch */ color: oklch(52.9% 0.103 104.6);
Tailwind
colors: {
  custom: {
    50: '#a0975c',
    500: '#756e17',
    950: '#000000',
  },
}
SCSS
$custom: #756e17;
$custom-light: #a0975c;
$custom-dark: #000000;
JSON
{
  "hex": "#756e17",
  "rgb": {
    "r": 117,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 55.532,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52869,
    "c": 0.10312,
    "h": 104.6
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#756E17
secondary
#3D46AA
accent
#4BEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #756E17

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

Preview Lab → · Contrast checker → · Palette generator →

#756E17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva