#756818#756818

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

Color values

HEX#756818
RGBrgb(117, 104, 24)
HSLhsl(52, 66%, 28%)
HSVhsv(52, 79%, 46%)
CMYKcmyk(0%, 11.1%, 79.5%, 54.1%)
CIE-LABlab(43.87, -4.12, 43.76)
CIE-LCHlch(43.87, 43.95, 95.38°)
OKLaboklab(51.47% -0.0161 0.0958)
OKLCHoklch(51.47% 0.097 99.6)
XYZxyz(12.4519, 13.7491, 2.8619)
Luminance0.1375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756818 #182575
analogous
#753A18 #756818 #537518
triadic
#756818 #187568 #681875
tetradic
#756818 #18753A #182575 #751853
square
#756818 #18753A #182575 #751853
split-complementary
#756818 #185375 #3A1875
monochromatic
#191705 #423B0E #756818 #A89522 #D5BE32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##756818#FFFFFF#000000##FFFFFF
##7568181.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)
#736507
Deuteranopia (green-blind)
#766A1E
Tritanopia (blue-blind)
#7F6059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #756818;
/* rgb */ color: rgb(117, 104, 24);
/* oklch */ color: oklch(51.5% 0.097 99.6);
Tailwind
colors: {
  custom: {
    50: '#a0925c',
    500: '#756818',
    950: '#000000',
  },
}
SCSS
$custom: #756818;
$custom-light: #a0925c;
$custom-dark: #000000;
JSON
{
  "hex": "#756818",
  "rgb": {
    "r": 117,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 51.613,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.09713,
    "h": 99.6
  },
  "luminance": 0.13748
}

Semantic roles & 50–950 ramp

primary
#756818
secondary
#3F4EAA
accent
#57E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #756818

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

Preview Lab → · Contrast checker → · Palette generator →

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