#757311#757311

#757311 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.0% C 0.111 H 108.3°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#757311
RGBrgb(117, 115, 17)
HSLhsl(59, 75%, 26%)
HSVhsv(59, 85%, 46%)
CMYKcmyk(0%, 1.7%, 85.5%, 54.1%)
CIE-LABlab(47.08, -10.60, 48.90)
CIE-LCHlch(47.08, 50.04, 102.23°)
OKLaboklab(54.02% -0.0349 0.1054)
OKLCHoklch(54.02% 0.111 108.3)
XYZxyz(13.5686, 16.0843, 2.9201)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757311 #111375
analogous
#754111 #757311 #457511
triadic
#757311 #117573 #731175
tetradic
#757311 #117541 #111375 #751145
square
#757311 #117541 #111375 #751145
split-complementary
#757311 #114575 #411175
monochromatic
#1B1A04 #403E09 #757311 #AAA819 #DFDB22

Accessibility & contrast

On white

4.98
#757311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #757311
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757311#FFFFFF#000000##FFFFFF
##7573111.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #757311;
/* rgb */ color: rgb(117, 115, 17);
/* oklch */ color: oklch(54.0% 0.111 108.3);
Tailwind
colors: {
  custom: {
    50: '#a09b5b',
    500: '#757311',
    950: '#000000',
  },
}
SCSS
$custom: #757311;
$custom-light: #a09b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#757311",
  "rgb": {
    "r": 117,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 58.8,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.11102,
    "h": 108.3
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#757311
secondary
#3638AC
accent
#3AF137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#0F0E04
muted
#7F7E79

Preview Lab

Preview with #757311

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

Preview Lab → · Contrast checker → · Palette generator →

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