#939F1F#939F1F

#939F1F is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.1% C 0.143 H 115.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#939F1F
RGBrgb(147, 159, 31)
HSLhsl(66, 67%, 37%)
HSVhsv(66, 81%, 62%)
CMYKcmyk(7.5%, 0%, 80.5%, 37.6%)
CIE-LABlab(62.59, -19.77, 59.40)
CIE-LCHlch(62.59, 62.60, 108.41°)
OKLaboklab(67.07% -0.0608 0.1293)
OKLCHoklch(67.07% 0.143 115.2)
XYZxyz(24.6788, 31.0987, 5.9987)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939F1F #2B1F9F
analogous
#9F6B1F #939F1F #539F1F
triadic
#939F1F #1F939F #9F1F93
tetradic
#939F1F #1F9F6B #2B1F9F #9F1F53
square
#939F1F #1F9F6B #2B1F9F #9F1F53
split-complementary
#939F1F #1F539F #6B1F9F
monochromatic
#34390B #646C15 #939F1F #C2D229 #D2DF5A

Accessibility & contrast

On white

2.91
#939F1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#939F1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939F1F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939F1F#FFFFFF#000000##000000
##939F1F1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AA982C
Tritanopia (blue-blind)
#9D9588
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #939f1f;
/* rgb */ color: rgb(147, 159, 31);
/* oklch */ color: oklch(67.1% 0.143 115.2);
Tailwind
colors: {
  custom: {
    50: '#b6bb67',
    500: '#939f1f',
    950: '#000000',
  },
}
SCSS
$custom: #939f1f;
$custom-light: #b6bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#939f1f",
  "rgb": {
    "r": 147,
    "g": 159,
    "b": 31
  },
  "hsl": {
    "h": 65.625,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.67075,
    "c": 0.14285,
    "h": 115.2
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

primary
#939F1F
secondary
#6157C3
accent
#3EEA4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #939F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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