#939827#939827

#939827 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.5% C 0.131 H 112.1°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#939827
RGBrgb(147, 152, 39)
HSLhsl(63, 59%, 37%)
HSVhsv(63, 74%, 60%)
CMYKcmyk(3.3%, 0%, 74.3%, 40.4%)
CIE-LABlab(60.61, -15.83, 55.00)
CIE-LCHlch(60.61, 57.23, 106.06°)
OKLaboklab(65.5% -0.0492 0.1214)
OKLCHoklch(65.5% 0.131 112.1)
XYZxyz(23.6278, 28.8066, 6.2346)
Luminance0.2881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939827 #2C2798
analogous
#986527 #939827 #5A9827
triadic
#939827 #279398 #982793
tetradic
#939827 #279865 #2C2798 #98275A
square
#939827 #279865 #2C2798 #98275A
split-complementary
#939827 #275A98 #652798
monochromatic
#35370E #64671B #939827 #C2C933 #D2D763

Accessibility & contrast

On white

3.11
#939827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#939827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #939827
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939827#FFFFFF#000000##000000
##9398271.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49110
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#9D8E82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #939827;
/* rgb */ color: rgb(147, 152, 39);
/* oklch */ color: oklch(65.5% 0.131 112.1);
Tailwind
colors: {
  custom: {
    50: '#b6b66a',
    500: '#939827',
    950: '#000000',
  },
}
SCSS
$custom: #939827;
$custom-light: #b6b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#939827",
  "rgb": {
    "r": 147,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 62.655,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.655,
    "c": 0.13096,
    "h": 112.1
  },
  "luminance": 0.28806
}

Semantic roles & 50–950 ramp

primary
#939827
secondary
#635EBC
accent
#45E24C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #939827

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

Preview Lab → · Contrast checker → · Palette generator →

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