#939F28#939F28

#939F28 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.1% C 0.138 H 115.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#939F28
RGBrgb(147, 159, 40)
HSLhsl(66, 60%, 39%)
HSVhsv(66, 75%, 62%)
CMYKcmyk(7.5%, 0%, 74.8%, 37.6%)
CIE-LABlab(62.64, -19.39, 56.57)
CIE-LCHlch(62.64, 59.80, 108.92°)
OKLaboklab(67.13% -0.059 0.1249)
OKLCHoklch(67.13% 0.138 115.3)
XYZxyz(24.8144, 31.1529, 6.7130)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939F28 #34289F
analogous
#9F7028 #939F28 #589F28
triadic
#939F28 #28939F #9F2893
tetradic
#939F28 #289F70 #34289F #9F2858
square
#939F28 #289F70 #34289F #9F2858
split-complementary
#939F28 #28589F #70289F
monochromatic
#393D0F #666E1C #939F28 #BECD37 #CED968

Accessibility & contrast

On white

2.90
#939F28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#939F28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939F28
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939F28#FFFFFF#000000##000000
##939F281.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB970E
Deuteranopia (green-blind)
#AA9832
Tritanopia (blue-blind)
#9D9688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #939f28;
/* rgb */ color: rgb(147, 159, 40);
/* oklch */ color: oklch(67.1% 0.138 115.3);
Tailwind
colors: {
  custom: {
    50: '#b6bb6b',
    500: '#939f28',
    950: '#000000',
  },
}
SCSS
$custom: #939f28;
$custom-light: #b6bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#939f28",
  "rgb": {
    "r": 147,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 66.05,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67126,
    "c": 0.1381,
    "h": 115.3
  },
  "luminance": 0.31153
}

Semantic roles & 50–950 ramp

primary
#939F28
secondary
#6D64BF
accent
#45E355
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #939F28

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

Preview Lab → · Contrast checker → · Palette generator →

#939F28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva