#756F17#756F17

#756F17 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.1% C 0.104 H 105.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#756F17
RGBrgb(117, 111, 23)
HSLhsl(56, 67%, 27%)
HSVhsv(56, 80%, 46%)
CMYKcmyk(0%, 5.1%, 80.3%, 54.1%)
CIE-LABlab(45.92, -8.15, 46.01)
CIE-LCHlch(45.92, 46.72, 100.04°)
OKLaboklab(53.11% -0.0276 0.1004)
OKLCHoklch(53.11% 0.104 105.4)
XYZxyz(13.1758, 15.2132, 3.0528)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756F17 #171D75
analogous
#754017 #756F17 #4C7517
triadic
#756F17 #17756F #6F1775
tetradic
#756F17 #177540 #171D75 #75174C
square
#756F17 #177540 #171D75 #75174C
split-complementary
#756F17 #174C75 #401775
monochromatic
#1A1805 #423E0D #756F17 #A8A021 #D6CC30

Accessibility & contrast

On white

5.19
#756F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#756F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756F17
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756F17#FFFFFF#000000##FFFFFF
##756F171.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B02
Deuteranopia (green-blind)
#7C6E1E
Tritanopia (blue-blind)
#7E675F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #756f17;
/* rgb */ color: rgb(117, 111, 23);
/* oklch */ color: oklch(53.1% 0.104 105.4);
Tailwind
colors: {
  custom: {
    50: '#a0985c',
    500: '#756f17',
    950: '#000000',
  },
}
SCSS
$custom: #756f17;
$custom-light: #a0985c;
$custom-dark: #000000;
JSON
{
  "hex": "#756f17",
  "rgb": {
    "r": 117,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 56.17,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.10408,
    "h": 105.4
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#756F17
secondary
#3D44AA
accent
#49EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #756F17

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

Preview Lab → · Contrast checker → · Palette generator →

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