#757E2B#757E2B

#757E2B is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 56.8% C 0.107 H 115.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#757E2B
RGBrgb(117, 126, 43)
HSLhsl(67, 49%, 33%)
HSVhsv(67, 66%, 49%)
CMYKcmyk(7.1%, 0%, 65.9%, 50.6%)
CIE-LABlab(50.54, -15.23, 42.51)
CIE-LCHlch(50.54, 45.16, 109.71°)
OKLaboklab(56.84% -0.0453 0.0967)
OKLCHoklch(56.84% 0.107 115.1)
XYZxyz(15.2334, 18.8783, 5.1264)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757E2B #342B7E
analogous
#7E5D2B #757E2B #4B7E2B
triadic
#757E2B #2B757E #7E2B75
tetradic
#757E2B #2B7E5D #342B7E #7E2B4B
square
#757E2B #2B7E5D #342B7E #7E2B4B
split-complementary
#757E2B #2B4B7E #5D2B7E
monochromatic
#20230C #4B501B #757E2B #9FAC3B #BCC75C

Accessibility & contrast

On white

4.40
#757E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#757E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757E2B
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757E2B#FFFFFF#000000##000000
##757E2B1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877820
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#7C776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757e2b;
/* rgb */ color: rgb(117, 126, 43);
/* oklch */ color: oklch(56.8% 0.107 115.1);
Tailwind
colors: {
  custom: {
    50: '#9fa369',
    500: '#757e2b',
    950: '#000000',
  },
}
SCSS
$custom: #757e2b;
$custom-light: #9fa369;
$custom-dark: #000000;
JSON
{
  "hex": "#757e2b",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 66.506,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.10675,
    "h": 115.1
  },
  "luminance": 0.18878
}

Semantic roles & 50–950 ramp

primary
#757E2B
secondary
#6158AD
accent
#4FD95E
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #757E2B

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

Preview Lab → · Contrast checker → · Palette generator →

#757E2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva