#757E2A#757E2A

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

Color values

HEX#757E2A
RGBrgb(117, 126, 42)
HSLhsl(66, 50%, 33%)
HSVhsv(66, 67%, 49%)
CMYKcmyk(7.1%, 0%, 66.7%, 50.6%)
CIE-LABlab(50.54, -15.30, 42.95)
CIE-LCHlch(50.54, 45.59, 109.61°)
OKLaboklab(56.83% -0.0456 0.0974)
OKLCHoklch(56.83% 0.108 115.1)
XYZxyz(15.2153, 18.8710, 5.0310)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757E2A #332A7E
analogous
#7E5D2A #757E2A #4B7E2A
triadic
#757E2A #2A757E #7E2A75
tetradic
#757E2A #2A7E5D #332A7E #7E2A4B
square
#757E2A #2A7E5D #332A7E #7E2A4B
split-complementary
#757E2A #2A4B7E #5D2A7E
monochromatic
#20220B #4A501B #757E2A #A0AC39 #BCC85A

Accessibility & contrast

On white

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

On black

4.77
#757E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757E2A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757E2A#FFFFFF#000000##000000
##757E2A1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87781F
Deuteranopia (green-blind)
#867930
Tritanopia (blue-blind)
#7C776D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #757e2a;
/* rgb */ color: rgb(117, 126, 42);
/* oklch */ color: oklch(56.8% 0.108 115.1);
Tailwind
colors: {
  custom: {
    50: '#9fa368',
    500: '#757e2a',
    950: '#000000',
  },
}
SCSS
$custom: #757e2a;
$custom-light: #9fa368;
$custom-dark: #000000;
JSON
{
  "hex": "#757e2a",
  "rgb": {
    "r": 117,
    "g": 126,
    "b": 42
  },
  "hsl": {
    "h": 66.429,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.10757,
    "h": 115.1
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#757E2A
secondary
#5F56AE
accent
#4EDA5D
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #757E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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