#757B1C#757B1C

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

Color values

HEX#757B1C
RGBrgb(117, 123, 28)
HSLhsl(64, 63%, 30%)
HSVhsv(64, 77%, 48%)
CMYKcmyk(4.9%, 0%, 77.2%, 51.8%)
CIE-LABlab(49.53, -14.52, 47.58)
CIE-LCHlch(49.53, 49.75, 106.97°)
OKLaboklab(56% -0.0449 0.1047)
OKLCHoklch(56% 0.114 113.2)
XYZxyz(14.6291, 18.0320, 3.8083)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B1C #221C7B
analogous
#7B511C #757B1C #467B1C
triadic
#757B1C #1C757B #7B1C75
tetradic
#757B1C #1C7B51 #221C7B #7B1C46
square
#757B1C #1C7B51 #221C7B #7B1C46
split-complementary
#757B1C #1C467B #511C7B
monochromatic
#181906 #464911 #757B1C #A4AD27 #CAD33E

Accessibility & contrast

On white

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

On black

4.61
#757B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757B1C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757B1C#FFFFFF#000000##000000
##757B1C1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #757b1c;
/* rgb */ color: rgb(117, 123, 28);
/* oklch */ color: oklch(56.0% 0.114 113.2);
Tailwind
colors: {
  custom: {
    50: '#a0a160',
    500: '#757b1c',
    950: '#000000',
  },
}
SCSS
$custom: #757b1c;
$custom-light: #a0a160;
$custom-dark: #000000;
JSON
{
  "hex": "#757b1c",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 63.789,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55998,
    "c": 0.11392,
    "h": 113.2
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#757B1C
secondary
#4B44AF
accent
#42E64C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #757B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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