#757B18#757B18

#757B18 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.116 H 113.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#757B18
RGBrgb(117, 123, 24)
HSLhsl(64, 67%, 29%)
HSVhsv(64, 80%, 48%)
CMYKcmyk(4.9%, 0%, 80.5%, 51.8%)
CIE-LABlab(49.51, -14.70, 48.92)
CIE-LCHlch(49.51, 51.09, 106.73°)
OKLaboklab(55.97% -0.0457 0.1068)
OKLCHoklch(55.97% 0.116 113.2)
XYZxyz(14.5844, 18.0141, 3.5728)
Luminance0.1801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B18 #1E187B
analogous
#7B5018 #757B18 #447B18
triadic
#757B18 #18757B #7B1875
tetradic
#757B18 #187B50 #1E187B #7B1844
square
#757B18 #187B50 #1E187B #7B1844
split-complementary
#757B18 #18447B #50187B
monochromatic
#181A05 #44480E #757B18 #A6AE22 #CED836

Accessibility & contrast

On white

4.56
#757B18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#757B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757B18
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757B18#FFFFFF#000000##000000
##757B181.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#7D7369
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b18;
/* rgb */ color: rgb(117, 123, 24);
/* oklch */ color: oklch(56.0% 0.116 113.2);
Tailwind
colors: {
  custom: {
    50: '#a0a15f',
    500: '#757b18',
    950: '#000000',
  },
}
SCSS
$custom: #757b18;
$custom-light: #a0a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#757b18",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 24
  },
  "hsl": {
    "h": 63.636,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55973,
    "c": 0.11617,
    "h": 113.2
  },
  "luminance": 0.18014
}

Semantic roles & 50–950 ramp

primary
#757B18
secondary
#463FB0
accent
#3EEA48
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757B18

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

Preview Lab → · Contrast checker → · Palette generator →

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