#938826#938826

#938826 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.9% C 0.116 H 102.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#938826
RGBrgb(147, 136, 38)
HSLhsl(54, 59%, 36%)
HSVhsv(54, 74%, 58%)
CMYKcmyk(0%, 7.5%, 74.1%, 42.4%)
CIE-LABlab(56.04, -7.35, 51.00)
CIE-LCHlch(56.04, 51.52, 98.20°)
OKLaboklab(61.85% -0.0255 0.1127)
OKLCHoklch(61.85% 0.116 102.8)
XYZxyz(21.1876, 23.9522, 5.3405)
Luminance0.2395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#938826 #263193
analogous
#935226 #938826 #689326
triadic
#938826 #269388 #882693
tetradic
#938826 #269352 #263193 #932668
square
#938826 #269352 #263193 #932668
split-complementary
#938826 #266893 #522693
monochromatic
#322E0D #625B19 #938826 #C4B533 #D5C95E

Accessibility & contrast

On white

3.63
#938826 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#938826 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #938826
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##938826#FFFFFF#000000##000000
##9388261.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#958415
Deuteranopia (green-blind)
#98892D
Tritanopia (blue-blind)
#9E7E75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #938826;
/* rgb */ color: rgb(147, 136, 38);
/* oklch */ color: oklch(61.9% 0.116 102.8);
Tailwind
colors: {
  custom: {
    50: '#b6aa68',
    500: '#938826',
    950: '#000000',
  },
}
SCSS
$custom: #938826;
$custom-light: #b6aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#938826",
  "rgb": {
    "r": 147,
    "g": 136,
    "b": 38
  },
  "hsl": {
    "h": 53.945,
    "s": 58.919,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61852,
    "c": 0.11556,
    "h": 102.8
  },
  "luminance": 0.23951
}

Semantic roles & 50–950 ramp

primary
#938826
secondary
#5A64BA
accent
#55E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #938826

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

Preview Lab → · Contrast checker → · Palette generator →

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