#938728#938728

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

Color values

HEX#938728
RGBrgb(147, 135, 40)
HSLhsl(53, 57%, 37%)
HSVhsv(53, 73%, 58%)
CMYKcmyk(0%, 8.2%, 72.8%, 42.4%)
CIE-LABlab(55.77, -6.70, 49.95)
CIE-LCHlch(55.77, 50.40, 97.64°)
OKLaboklab(61.64% -0.0235 0.1109)
OKLCHoklch(61.64% 0.113 102)
XYZxyz(21.0805, 23.6851, 5.4684)
Luminance0.2368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938728 #283493
analogous
#935228 #938728 #6A9328
triadic
#938728 #289387 #872893
tetradic
#938728 #289352 #283493 #93286A
square
#938728 #289352 #283493 #93286A
split-complementary
#938728 #286A93 #522893
monochromatic
#332F0E #635B1B #938728 #C3B335 #D4C761

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##938728#FFFFFF#000000##000000
##9387281.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)
#948319
Deuteranopia (green-blind)
#97882E
Tritanopia (blue-blind)
#9E7D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #938728;
/* rgb */ color: rgb(147, 135, 40);
/* oklch */ color: oklch(61.6% 0.113 102.0);
Tailwind
colors: {
  custom: {
    50: '#b6a969',
    500: '#938728',
    950: '#000000',
  },
}
SCSS
$custom: #938728;
$custom-light: #b6a969;
$custom-dark: #000000;
JSON
{
  "hex": "#938728",
  "rgb": {
    "r": 147,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 53.271,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61643,
    "c": 0.11335,
    "h": 102
  },
  "luminance": 0.23684
}

Semantic roles & 50–950 ramp

primary
#938728
secondary
#5D67BA
accent
#59E047
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #938728

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

Preview Lab → · Contrast checker → · Palette generator →

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