#938726#938726

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

Color values

HEX#938726
RGBrgb(147, 135, 38)
HSLhsl(53, 59%, 36%)
HSVhsv(53, 74%, 58%)
CMYKcmyk(0%, 8.2%, 74.1%, 42.4%)
CIE-LABlab(55.76, -6.80, 50.72)
CIE-LCHlch(55.76, 51.18, 97.64°)
OKLaboklab(61.63% -0.024 0.1121)
OKLCHoklch(61.63% 0.115 102.1)
XYZxyz(21.0474, 23.6719, 5.2938)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938726 #263293
analogous
#935126 #938726 #699326
triadic
#938726 #269387 #872693
tetradic
#938726 #269351 #263293 #932669
square
#938726 #269351 #263293 #932669
split-complementary
#938726 #266993 #512693
monochromatic
#322E0D #625A19 #938726 #C4B433 #D5C85E

Accessibility & contrast

On white

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

On black

5.73
#938726 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938726
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938726#FFFFFF#000000##000000
##9387261.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #938726;
/* rgb */ color: rgb(147, 135, 38);
/* oklch */ color: oklch(61.6% 0.115 102.1);
Tailwind
colors: {
  custom: {
    50: '#b6a967',
    500: '#938726',
    950: '#000000',
  },
}
SCSS
$custom: #938726;
$custom-light: #b6a967;
$custom-dark: #000000;
JSON
{
  "hex": "#938726",
  "rgb": {
    "r": 147,
    "g": 135,
    "b": 38
  },
  "hsl": {
    "h": 53.394,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.11467,
    "h": 102.1
  },
  "luminance": 0.23671
}

Semantic roles & 50–950 ramp

primary
#938726
secondary
#5A65BA
accent
#57E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #938726

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

Preview Lab → · Contrast checker → · Palette generator →

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