#757C1B#757C1B

#757C1B is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.2% C 0.116 H 113.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#757C1B
RGBrgb(117, 124, 27)
HSLhsl(64, 64%, 30%)
HSVhsv(64, 78%, 49%)
CMYKcmyk(5.6%, 0%, 78.2%, 51.4%)
CIE-LABlab(49.83, -15.11, 48.21)
CIE-LCHlch(49.83, 50.52, 107.40°)
OKLaboklab(56.23% -0.0466 0.1058)
OKLCHoklch(56.23% 0.116 113.8)
XYZxyz(14.7421, 18.2766, 3.7879)
Luminance0.1828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757C1B #221B7C
analogous
#7C531B #757C1B #457C1B
triadic
#757C1B #1B757C #7C1B75
tetradic
#757C1B #1B7C53 #221B7C #7C1B45
square
#757C1B #1B7C53 #221B7C #7C1B45
split-complementary
#757C1B #1B457C #531B7C
monochromatic
#181905 #464A10 #757C1B #A4AE26 #CAD53D

Accessibility & contrast

On white

4.51
#757C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#757C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757C1B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757C1B#FFFFFF#000000##000000
##757C1B1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#7D746A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757c1b;
/* rgb */ color: rgb(117, 124, 27);
/* oklch */ color: oklch(56.2% 0.116 113.8);
Tailwind
colors: {
  custom: {
    50: '#a0a160',
    500: '#757c1b',
    950: '#000000',
  },
}
SCSS
$custom: #757c1b;
$custom-light: #a0a160;
$custom-dark: #000000;
JSON
{
  "hex": "#757c1b",
  "rgb": {
    "r": 117,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 64.33,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56232,
    "c": 0.11564,
    "h": 113.8
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#757C1B
secondary
#4B43B0
accent
#41E74D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #757C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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