#757231#757231

#757231 is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.0% C 0.087 H 106.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#757231
RGBrgb(117, 114, 49)
HSLhsl(57, 41%, 33%)
HSVhsv(57, 58%, 46%)
CMYKcmyk(0%, 2.6%, 58.1%, 54.1%)
CIE-LABlab(47.03, -8.18, 35.79)
CIE-LCHlch(47.03, 36.71, 102.88°)
OKLaboklab(54.05% -0.0247 0.0832)
OKLCHoklch(54.05% 0.087 106.5)
XYZxyz(13.9082, 16.0387, 5.2683)
Luminance0.1604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#757231 #313475
analogous
#755031 #757231 #567531
triadic
#757231 #317572 #723175
tetradic
#757231 #317550 #313475 #753156
square
#757231 #317550 #313475 #753156
split-complementary
#757231 #315675 #503175
monochromatic
#1F1E0D #4A481F #757231 #A09C43 #BEBA63

Accessibility & contrast

On white

4.99
#757231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#757231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #757231
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##757231#FFFFFF#000000##FFFFFF
##7572311.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2A
Deuteranopia (green-blind)
#7C7134
Tritanopia (blue-blind)
#7D6B64
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #757231;
/* rgb */ color: rgb(117, 114, 49);
/* oklch */ color: oklch(54.0% 0.087 106.5);
Tailwind
colors: {
  custom: {
    50: '#9f9a6b',
    500: '#757231',
    950: '#000000',
  },
}
SCSS
$custom: #757231;
$custom-light: #9f9a6b;
$custom-dark: #000000;
JSON
{
  "hex": "#757231",
  "rgb": {
    "r": 117,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 57.353,
    "s": 40.964,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54049,
    "c": 0.08678,
    "h": 106.5
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#757231
secondary
#5D60A5
accent
#5CD157
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E07
muted
#7E7E7A

Preview Lab

Preview with #757231

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

Preview Lab → · Contrast checker → · Palette generator →

#757231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva