#757B2E#757B2E

#757B2E is a mid, moderate yellow. Relative luminance 0.181; 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#757B2E
RGBrgb(117, 123, 46)
HSLhsl(65, 46%, 33%)
HSVhsv(65, 63%, 48%)
CMYKcmyk(4.9%, 0%, 62.6%, 51.8%)
CIE-LABlab(49.67, -13.39, 40.20)
CIE-LCHlch(49.67, 42.37, 108.43°)
OKLaboklab(56.15% -0.0398 0.0922)
OKLCHoklch(56.15% 0.1 113.4)
XYZxyz(14.9126, 18.1454, 5.3011)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B2E #342E7B
analogous
#7B5A2E #757B2E #4E7B2E
triadic
#757B2E #2E757B #7B2E75
tetradic
#757B2E #2E7B5A #342E7B #7B2E4E
square
#757B2E #2E7B5A #342E7B #7B2E4E
split-complementary
#757B2E #2E4E7B #5A2E7B
monochromatic
#20220D #4B4E1D #757B2E #9FA83F #BCC360

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##757B2E#FFFFFF#000000##000000
##757B2E1.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)
#847525
Deuteranopia (green-blind)
#847733
Tritanopia (blue-blind)
#7C746B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b2e;
/* rgb */ color: rgb(117, 123, 46);
/* oklch */ color: oklch(56.2% 0.100 113.4);
Tailwind
colors: {
  custom: {
    50: '#9fa16a',
    500: '#757b2e',
    950: '#000000',
  },
}
SCSS
$custom: #757b2e;
$custom-light: #9fa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#757b2e",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 46
  },
  "hsl": {
    "h": 64.675,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56151,
    "c": 0.10043,
    "h": 113.4
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#757B2E
secondary
#615BAA
accent
#53D55D
background
#FAF9F6
surface
#F3F2EB
border
#CDCCC6
text
#0F0E07
muted
#7F7E7A

Preview Lab

Preview with #757B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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