#757318#757318

#757318 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.1% C 0.108 H 108.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#757318
RGBrgb(117, 115, 24)
HSLhsl(59, 66%, 28%)
HSVhsv(59, 79%, 46%)
CMYKcmyk(0%, 1.7%, 79.5%, 54.1%)
CIE-LABlab(47.12, -10.34, 46.75)
CIE-LCHlch(47.12, 47.88, 102.47°)
OKLaboklab(54.06% -0.0336 0.1022)
OKLCHoklch(54.06% 0.108 108.2)
XYZxyz(13.6323, 16.1098, 3.2554)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757318 #181A75
analogous
#754518 #757318 #487518
triadic
#757318 #187573 #731875
tetradic
#757318 #187545 #181A75 #751848
square
#757318 #187545 #181A75 #751848
split-complementary
#757318 #184875 #451875
monochromatic
#191905 #42410E #757318 #A8A522 #D5D232

Accessibility & contrast

On white

4.97
#757318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#757318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757318
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757318#FFFFFF#000000##FFFFFF
##7573181.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#7E6B62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #757318;
/* rgb */ color: rgb(117, 115, 24);
/* oklch */ color: oklch(54.1% 0.108 108.2);
Tailwind
colors: {
  custom: {
    50: '#a09b5d',
    500: '#757318',
    950: '#000000',
  },
}
SCSS
$custom: #757318;
$custom-light: #a09b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#757318",
  "rgb": {
    "r": 117,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 58.71,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.54058,
    "c": 0.10753,
    "h": 108.2
  },
  "luminance": 0.16109
}

Semantic roles & 50–950 ramp

primary
#757318
secondary
#3F41AA
accent
#43E93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757318

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

Preview Lab → · Contrast checker → · Palette generator →

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