#938727#938727

#938727 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.114 H 102.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#938727
RGBrgb(147, 135, 39)
HSLhsl(53, 58%, 36%)
HSVhsv(53, 73%, 58%)
CMYKcmyk(0%, 8.2%, 73.5%, 42.4%)
CIE-LABlab(55.76, -6.75, 50.34)
CIE-LCHlch(55.76, 50.79, 97.64°)
OKLaboklab(61.64% -0.0237 0.1115)
OKLCHoklch(61.64% 0.114 102)
XYZxyz(21.0637, 23.6784, 5.3799)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938727 #273393
analogous
#935127 #938727 #699327
triadic
#938727 #279387 #872793
tetradic
#938727 #279351 #273393 #932769
square
#938727 #279351 #273393 #932769
split-complementary
#938727 #276993 #512793
monochromatic
#322E0D #635B1A #938727 #C3B334 #D5C860

Accessibility & contrast

On white

3.66
#938727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#938727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938727
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938727#FFFFFF#000000##000000
##9387271.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948317
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#9E7D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #938727;
/* rgb */ color: rgb(147, 135, 39);
/* oklch */ color: oklch(61.6% 0.114 102.0);
Tailwind
colors: {
  custom: {
    50: '#b6a968',
    500: '#938727',
    950: '#000000',
  },
}
SCSS
$custom: #938727;
$custom-light: #b6a968;
$custom-dark: #000000;
JSON
{
  "hex": "#938727",
  "rgb": {
    "r": 147,
    "g": 135,
    "b": 39
  },
  "hsl": {
    "h": 53.333,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61635,
    "c": 0.11402,
    "h": 102
  },
  "luminance": 0.23677
}

Semantic roles & 50–950 ramp

primary
#938727
secondary
#5C66BA
accent
#58E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938727

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

Preview Lab → · Contrast checker → · Palette generator →

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