#757B2D#757B2D

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

Color values

HEX#757B2D
RGBrgb(117, 123, 45)
HSLhsl(65, 46%, 33%)
HSVhsv(65, 63%, 48%)
CMYKcmyk(4.9%, 0%, 63.4%, 51.8%)
CIE-LABlab(49.66, -13.47, 40.66)
CIE-LCHlch(49.66, 42.83, 108.33°)
OKLaboklab(56.14% -0.0401 0.093)
OKLCHoklch(56.14% 0.101 113.3)
XYZxyz(14.8931, 18.1376, 5.1985)
Luminance0.1814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B2D #332D7B
analogous
#7B5A2D #757B2D #4E7B2D
triadic
#757B2D #2D757B #7B2D75
tetradic
#757B2D #2D7B5A #332D7B #7B2D4E
square
#757B2D #2D7B5A #332D7B #7B2D4E
split-complementary
#757B2D #2D4E7B #5A2D7B
monochromatic
#20210C #4A4E1D #757B2D #A0A83D #BCC45E

Accessibility & contrast

On white

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

On black

4.63
#757B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757B2D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757B2D#FFFFFF#000000##000000
##757B2D1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847524
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#7D746B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b2d;
/* rgb */ color: rgb(117, 123, 45);
/* oklch */ color: oklch(56.1% 0.101 113.3);
Tailwind
colors: {
  custom: {
    50: '#9fa16a',
    500: '#757b2d',
    950: '#000000',
  },
}
SCSS
$custom: #757b2d;
$custom-light: #9fa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#757b2d",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 64.615,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.10131,
    "h": 113.3
  },
  "luminance": 0.18137
}

Semantic roles & 50–950 ramp

primary
#757B2D
secondary
#5F59AB
accent
#52D65C
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #757B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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