#939E1F#939E1F

#939E1F is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.8% C 0.142 H 114.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#939E1F
RGBrgb(147, 158, 31)
HSLhsl(65, 67%, 37%)
HSVhsv(65, 80%, 62%)
CMYKcmyk(7%, 0%, 80.4%, 38%)
CIE-LABlab(62.30, -19.26, 59.14)
CIE-LCHlch(62.30, 62.20, 108.04°)
OKLaboklab(66.84% -0.0594 0.1287)
OKLCHoklch(66.84% 0.142 114.8)
XYZxyz(24.5075, 30.7562, 5.9416)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#939E1F #2A1F9E
analogous
#9E6A1F #939E1F #549E1F
triadic
#939E1F #1F939E #9E1F93
tetradic
#939E1F #1F9E6A #2A1F9E #9E1F54
square
#939E1F #1F9E6A #2A1F9E #9E1F54
split-complementary
#939E1F #1F549E #6A1F9E
monochromatic
#34380B #636B15 #939E1F #C3D129 #D3DE59

Accessibility & contrast

On white

2.94
#939E1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#939E1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #939E1F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##939E1F#FFFFFF#000000##000000
##939E1F1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A9982B
Tritanopia (blue-blind)
#9D9487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #939e1f;
/* rgb */ color: rgb(147, 158, 31);
/* oklch */ color: oklch(66.8% 0.142 114.8);
Tailwind
colors: {
  custom: {
    50: '#b6ba67',
    500: '#939e1f',
    950: '#000000',
  },
}
SCSS
$custom: #939e1f;
$custom-light: #b6ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#939e1f",
  "rgb": {
    "r": 147,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 65.197,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66842,
    "c": 0.14175,
    "h": 114.8
  },
  "luminance": 0.30756
}

Semantic roles & 50–950 ramp

primary
#939E1F
secondary
#6056C2
accent
#3EEA4D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #939E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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