#757D23#757D23

#757D23 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.5% C 0.112 H 114.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#757D23
RGBrgb(117, 125, 35)
HSLhsl(65, 56%, 31%)
HSVhsv(65, 72%, 49%)
CMYKcmyk(6.4%, 0%, 72%, 51%)
CIE-LABlab(50.18, -15.22, 45.55)
CIE-LCHlch(50.18, 48.02, 108.48°)
OKLaboklab(56.53% -0.0461 0.1017)
OKLCHoklch(56.53% 0.112 114.4)
XYZxyz(14.9735, 18.5708, 4.3855)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757D23 #2B237D
analogous
#7D5823 #757D23 #487D23
triadic
#757D23 #23757D #7D2375
tetradic
#757D23 #237D58 #2B237D #7D2348
square
#757D23 #237D58 #2B237D #7D2348
split-complementary
#757D23 #23487D #58237D
monochromatic
#1B1D08 #484D16 #757D23 #A2AD30 #C2CD4D

Accessibility & contrast

On white

4.45
#757D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#757D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #757D23
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757D23#FFFFFF#000000##000000
##757D231.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867714
Deuteranopia (green-blind)
#86782A
Tritanopia (blue-blind)
#7D756B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #757d23;
/* rgb */ color: rgb(117, 125, 35);
/* oklch */ color: oklch(56.5% 0.112 114.4);
Tailwind
colors: {
  custom: {
    50: '#9fa264',
    500: '#757d23',
    950: '#000000',
  },
}
SCSS
$custom: #757d23;
$custom-light: #9fa264;
$custom-dark: #000000;
JSON
{
  "hex": "#757d23",
  "rgb": {
    "r": 117,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 65.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5653,
    "c": 0.11169,
    "h": 114.4
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#757D23
secondary
#554CAF
accent
#48E056
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0F06
muted
#7F7E7A

Preview Lab

Preview with #757D23

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

Preview Lab → · Contrast checker → · Palette generator →

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