#757F2C#757F2C

#757F2C is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.1% C 0.107 H 115.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#757F2C
RGBrgb(117, 127, 44)
HSLhsl(67, 49%, 34%)
HSVhsv(67, 65%, 50%)
CMYKcmyk(7.9%, 0%, 65.4%, 50.2%)
CIE-LABlab(50.85, -15.70, 42.39)
CIE-LCHlch(50.85, 45.20, 110.32°)
OKLaboklab(57.09% -0.0465 0.0966)
OKLCHoklch(57.09% 0.107 115.7)
XYZxyz(15.3805, 19.1427, 5.2671)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757F2C #362C7F
analogous
#7F5F2C #757F2C #4B7F2C
triadic
#757F2C #2C757F #7F2C75
tetradic
#757F2C #2C7F5F #362C7F #7F2C4B
square
#757F2C #2C7F5F #362C7F #7F2C4B
split-complementary
#757F2C #2C4B7F #5F2C7F
monochromatic
#21240D #4B521C #757F2C #9FAC3C #BBC75E

Accessibility & contrast

On white

4.35
#757F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#757F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757F2C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757F2C#FFFFFF#000000##000000
##757F2C1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#887921
Deuteranopia (green-blind)
#877A32
Tritanopia (blue-blind)
#7C786E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #757f2c;
/* rgb */ color: rgb(117, 127, 44);
/* oklch */ color: oklch(57.1% 0.107 115.7);
Tailwind
colors: {
  custom: {
    50: '#9fa469',
    500: '#757f2c',
    950: '#000000',
  },
}
SCSS
$custom: #757f2c;
$custom-light: #9fa469;
$custom-dark: #000000;
JSON
{
  "hex": "#757f2c",
  "rgb": {
    "r": 117,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 67.229,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57092,
    "c": 0.10716,
    "h": 115.7
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#757F2C
secondary
#6459AD
accent
#50D860
background
#FAFAF6
surface
#F3F3EB
border
#CDCDC6
text
#0F0F07
muted
#7F7F7A

Preview Lab

Preview with #757F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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