#756B18#756B18

#756B18 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.2% C 0.100 H 102.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#756B18
RGBrgb(117, 107, 24)
HSLhsl(54, 66%, 28%)
HSVhsv(54, 79%, 46%)
CMYKcmyk(0%, 8.5%, 79.5%, 54.1%)
CIE-LABlab(44.75, -5.84, 44.58)
CIE-LCHlch(44.75, 44.96, 97.46°)
OKLaboklab(52.17% -0.021 0.0975)
OKLCHoklch(52.17% 0.1 102.1)
XYZxyz(12.7593, 14.3638, 2.9644)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#756B18 #182275
analogous
#753C18 #756B18 #517518
triadic
#756B18 #18756B #6B1875
tetradic
#756B18 #18753C #182275 #751851
square
#756B18 #18753C #182275 #751851
split-complementary
#756B18 #185175 #3C1875
monochromatic
#191705 #423D0E #756B18 #A89922 #D5C432

Accessibility & contrast

On white

5.42
#756B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#756B18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #756B18
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##756B18#FFFFFF#000000##FFFFFF
##756B181.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766706
Deuteranopia (green-blind)
#796C1E
Tritanopia (blue-blind)
#7E635B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #756b18;
/* rgb */ color: rgb(117, 107, 24);
/* oklch */ color: oklch(52.2% 0.100 102.1);
Tailwind
colors: {
  custom: {
    50: '#a0955c',
    500: '#756b18',
    950: '#000000',
  },
}
SCSS
$custom: #756b18;
$custom-light: #a0955c;
$custom-dark: #000000;
JSON
{
  "hex": "#756b18",
  "rgb": {
    "r": 117,
    "g": 107,
    "b": 24
  },
  "hsl": {
    "h": 53.548,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.09975,
    "h": 102.1
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#756B18
secondary
#3F4AAA
accent
#51E93F
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#0F0D04
muted
#7F7E79

Preview Lab

Preview with #756B18

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

Preview Lab → · Contrast checker → · Palette generator →

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