#757D18#757D18

#757D18 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.5% C 0.118 H 114.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#757D18
RGBrgb(117, 125, 24)
HSLhsl(65, 68%, 29%)
HSVhsv(65, 81%, 49%)
CMYKcmyk(6.4%, 0%, 80.8%, 51%)
CIE-LABlab(50.12, -15.77, 49.47)
CIE-LCHlch(50.12, 51.92, 107.68°)
OKLaboklab(56.46% -0.0487 0.1079)
OKLCHoklch(56.46% 0.118 114.3)
XYZxyz(14.8351, 18.5154, 3.6563)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D18 #20187D
analogous
#7D5318 #757D18 #437D18
triadic
#757D18 #18757D #7D1875
tetradic
#757D18 #187D53 #20187D #7D1843
square
#757D18 #187D53 #20187D #7D1843
split-complementary
#757D18 #18437D #53187D
monochromatic
#181A05 #454A0E #757D18 #A5B022 #CCD937

Accessibility & contrast

On white

4.47
#757D18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#757D18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D18
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D18#FFFFFF#000000##000000
##757D181.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#867821
Tritanopia (blue-blind)
#7D756A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d18;
/* rgb */ color: rgb(117, 125, 24);
/* oklch */ color: oklch(56.5% 0.118 114.3);
Tailwind
colors: {
  custom: {
    50: '#a0a25f',
    500: '#757d18',
    950: '#000000',
  },
}
SCSS
$custom: #757d18;
$custom-light: #a0a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#757d18",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 64.752,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.11842,
    "h": 114.3
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#757D18
secondary
#483FB2
accent
#3DEB4B
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0F05
muted
#7F7E79

Preview Lab

Preview with #757D18

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

Preview Lab → · Contrast checker → · Palette generator →

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