#756917#756917

#756917 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.7% C 0.099 H 100.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#756917
RGBrgb(117, 105, 23)
HSLhsl(52, 67%, 27%)
HSVhsv(52, 80%, 46%)
CMYKcmyk(0%, 10.3%, 80.3%, 54.1%)
CIE-LABlab(44.16, -4.74, 44.39)
CIE-LCHlch(44.16, 44.65, 96.09°)
OKLaboklab(51.7% -0.018 0.0969)
OKLCHoklch(51.7% 0.099 100.5)
XYZxyz(12.5430, 13.9475, 2.8419)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756917 #172375
analogous
#753A17 #756917 #527517
triadic
#756917 #177569 #691775
tetradic
#756917 #17753A #172375 #751752
square
#756917 #17753A #172375 #751752
split-complementary
#756917 #175275 #3A1775
monochromatic
#1A1705 #423B0D #756917 #A89721 #D6C130

Accessibility & contrast

On white

5.54
#756917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#756917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756917
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756917#FFFFFF#000000##FFFFFF
##7569171.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#776A1D
Tritanopia (blue-blind)
#7F615A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #756917;
/* rgb */ color: rgb(117, 105, 23);
/* oklch */ color: oklch(51.7% 0.099 100.5);
Tailwind
colors: {
  custom: {
    50: '#a0935c',
    500: '#756917',
    950: '#000000',
  },
}
SCSS
$custom: #756917;
$custom-light: #a0935c;
$custom-dark: #000000;
JSON
{
  "hex": "#756917",
  "rgb": {
    "r": 117,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 52.34,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.09858,
    "h": 100.5
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#756917
secondary
#3D4BAA
accent
#54EA3E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #756917

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

Preview Lab → · Contrast checker → · Palette generator →

#756917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva