#756816#756816

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

Color values

HEX#756816
RGBrgb(117, 104, 22)
HSLhsl(52, 68%, 27%)
HSVhsv(52, 81%, 46%)
CMYKcmyk(0%, 11.1%, 81.2%, 54.1%)
CIE-LABlab(43.86, -4.21, 44.48)
CIE-LCHlch(43.86, 44.68, 95.40°)
OKLaboklab(51.46% -0.0166 0.0969)
OKLCHoklch(51.46% 0.098 99.7)
XYZxyz(12.4319, 13.7411, 2.7564)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756816 #162375
analogous
#753816 #756816 #537516
triadic
#756816 #167568 #681675
tetradic
#756816 #167538 #162375 #751653
square
#756816 #167538 #162375 #751653
split-complementary
#756816 #165375 #381675
monochromatic
#1A1705 #413A0C #756816 #A99620 #D8C02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##756816#FFFFFF#000000##FFFFFF
##7568161.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)
#736504
Deuteranopia (green-blind)
#766A1C
Tritanopia (blue-blind)
#7F6059
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #756816;
/* rgb */ color: rgb(117, 104, 22);
/* oklch */ color: oklch(51.5% 0.098 99.7);
Tailwind
colors: {
  custom: {
    50: '#a0925b',
    500: '#756816',
    950: '#000000',
  },
}
SCSS
$custom: #756816;
$custom-light: #a0925b;
$custom-dark: #000000;
JSON
{
  "hex": "#756816",
  "rgb": {
    "r": 117,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 51.789,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51461,
    "c": 0.0983,
    "h": 99.7
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#756816
secondary
#3C4BAB
accent
#54EB3D
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#0F0D04
muted
#7F7D79

Preview Lab

Preview with #756816

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

Preview Lab → · Contrast checker → · Palette generator →

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