#756817#756817

#756817 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.5% C 0.098 H 99.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#756817
RGBrgb(117, 104, 23)
HSLhsl(52, 67%, 27%)
HSVhsv(52, 80%, 46%)
CMYKcmyk(0%, 11.1%, 80.3%, 54.1%)
CIE-LABlab(43.87, -4.17, 44.12)
CIE-LCHlch(43.87, 44.32, 95.39°)
OKLaboklab(51.47% -0.0164 0.0963)
OKLCHoklch(51.47% 0.098 99.6)
XYZxyz(12.4417, 13.7450, 2.8082)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756817 #172475
analogous
#753917 #756817 #537517
triadic
#756817 #177568 #681775
tetradic
#756817 #177539 #172475 #751753
square
#756817 #177539 #172475 #751753
split-complementary
#756817 #175375 #391775
monochromatic
#1A1705 #423B0D #756817 #A89521 #D6BF30

Accessibility & contrast

On white

5.60
#756817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#756817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756817
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756817#FFFFFF#000000##FFFFFF
##7568171.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736505
Deuteranopia (green-blind)
#766A1D
Tritanopia (blue-blind)
#7F6059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #756817;
/* rgb */ color: rgb(117, 104, 23);
/* oklch */ color: oklch(51.5% 0.098 99.6);
Tailwind
colors: {
  custom: {
    50: '#a0925b',
    500: '#756817',
    950: '#000000',
  },
}
SCSS
$custom: #756817;
$custom-light: #a0925b;
$custom-dark: #000000;
JSON
{
  "hex": "#756817",
  "rgb": {
    "r": 117,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 51.702,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.09772,
    "h": 99.6
  },
  "luminance": 0.13744
}

Semantic roles & 50–950 ramp

primary
#756817
secondary
#3D4CAA
accent
#56EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #756817

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

Preview Lab → · Contrast checker → · Palette generator →

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