#757B2A#757B2A

#757B2A is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.1% C 0.104 H 113.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#757B2A
RGBrgb(117, 123, 42)
HSLhsl(64, 49%, 32%)
HSVhsv(64, 66%, 48%)
CMYKcmyk(4.9%, 0%, 65.9%, 51.8%)
CIE-LABlab(49.64, -13.69, 42.00)
CIE-LCHlch(49.64, 44.18, 108.05°)
OKLaboklab(56.11% -0.0411 0.0954)
OKLCHoklch(56.11% 0.104 113.3)
XYZxyz(14.8374, 18.1153, 4.9050)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B2A #302A7B
analogous
#7B582A #757B2A #4D7B2A
triadic
#757B2A #2A757B #7B2A75
tetradic
#757B2A #2A7B58 #302A7B #7B2A4D
square
#757B2A #2A7B58 #302A7B #7B2A4D
split-complementary
#757B2A #2A4D7B #582A7B
monochromatic
#1E200B #4A4D1A #757B2A #A0A93A #BEC659

Accessibility & contrast

On white

4.54
#757B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#757B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757B2A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757B2A#FFFFFF#000000##000000
##757B2A1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847520
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#7D746A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b2a;
/* rgb */ color: rgb(117, 123, 42);
/* oklch */ color: oklch(56.1% 0.104 113.3);
Tailwind
colors: {
  custom: {
    50: '#9fa168',
    500: '#757b2a',
    950: '#000000',
  },
}
SCSS
$custom: #757b2a;
$custom-light: #9fa168;
$custom-dark: #000000;
JSON
{
  "hex": "#757b2a",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 42
  },
  "hsl": {
    "h": 64.444,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56111,
    "c": 0.10389,
    "h": 113.3
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#757B2A
secondary
#5B55AC
accent
#4FD959
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #757B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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