#757B23#757B23

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

Color values

HEX#757B23
RGBrgb(117, 123, 35)
HSLhsl(64, 56%, 31%)
HSVhsv(64, 72%, 48%)
CMYKcmyk(4.9%, 0%, 71.5%, 51.8%)
CIE-LABlab(49.58, -14.15, 44.95)
CIE-LCHlch(49.58, 47.12, 107.47°)
OKLaboklab(56.05% -0.0431 0.1005)
OKLCHoklch(56.05% 0.109 113.2)
XYZxyz(14.7229, 18.0695, 4.3020)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757B23 #29237B
analogous
#7B5523 #757B23 #497B23
triadic
#757B23 #23757B #7B2375
tetradic
#757B23 #237B55 #29237B #7B2349
square
#757B23 #237B55 #29237B #7B2349
split-complementary
#757B23 #23497B #55237B
monochromatic
#1A1C08 #484B15 #757B23 #A2AB31 #C3CC4C

Accessibility & contrast

On white

4.55
#757B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##757B23#FFFFFF#000000##000000
##757B231.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847515
Deuteranopia (green-blind)
#84772A
Tritanopia (blue-blind)
#7D736A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #757b23;
/* rgb */ color: rgb(117, 123, 35);
/* oklch */ color: oklch(56.0% 0.109 113.2);
Tailwind
colors: {
  custom: {
    50: '#9fa164',
    500: '#757b23',
    950: '#000000',
  },
}
SCSS
$custom: #757b23;
$custom-light: #9fa164;
$custom-dark: #000000;
JSON
{
  "hex": "#757b23",
  "rgb": {
    "r": 117,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 64.091,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.10932,
    "h": 113.2
  },
  "luminance": 0.18069
}

Semantic roles & 50–950 ramp

primary
#757B23
secondary
#534CAE
accent
#49DF53
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #757B23

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

Preview Lab → · Contrast checker → · Palette generator →

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