#757B2F#757B2F

#757B2F is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.2% C 0.100 H 113.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#757B2F
RGBrgb(117, 123, 47)
HSLhsl(65, 45%, 33%)
HSVhsv(65, 62%, 48%)
CMYKcmyk(4.9%, 0%, 61.8%, 51.8%)
CIE-LABlab(49.68, -13.31, 39.74)
CIE-LCHlch(49.68, 41.91, 108.52°)
OKLaboklab(56.16% -0.0395 0.0914)
OKLCHoklch(56.16% 0.1 113.4)
XYZxyz(14.9325, 18.1533, 5.4061)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B2F #352F7B
analogous
#7B5B2F #757B2F #4F7B2F
triadic
#757B2F #2F757B #7B2F75
tetradic
#757B2F #2F7B5B #352F7B #7B2F4F
square
#757B2F #2F7B5B #352F7B #7B2F4F
split-complementary
#757B2F #2F4F7B #5B2F7B
monochromatic
#21220D #4B4F1E #757B2F #9FA740 #BBC362

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757B2F#FFFFFF#000000##000000
##757B2F1.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)
#847526
Deuteranopia (green-blind)
#847734
Tritanopia (blue-blind)
#7C746B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b2f;
/* rgb */ color: rgb(117, 123, 47);
/* oklch */ color: oklch(56.2% 0.100 113.4);
Tailwind
colors: {
  custom: {
    50: '#9fa16b',
    500: '#757b2f',
    950: '#000000',
  },
}
SCSS
$custom: #757b2f;
$custom-light: #9fa16b;
$custom-dark: #000000;
JSON
{
  "hex": "#757b2f",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 64.737,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56162,
    "c": 0.09953,
    "h": 113.4
  },
  "luminance": 0.18153
}

Semantic roles & 50–950 ramp

primary
#757B2F
secondary
#625CAA
accent
#53D45E
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #757B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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