#937F1C#937F1C

#937F1C is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.8% C 0.114 H 96.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#937F1C
RGBrgb(147, 127, 28)
HSLhsl(50, 68%, 34%)
HSVhsv(50, 81%, 58%)
CMYKcmyk(0%, 13.6%, 81%, 42.4%)
CIE-LABlab(53.46, -2.82, 52.19)
CIE-LCHlch(53.46, 52.27, 93.09°)
OKLaboklab(59.78% -0.0137 0.1132)
OKLCHoklch(59.78% 0.114 96.9)
XYZxyz(19.8327, 21.4667, 4.1972)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937F1C #1C3093
analogous
#93441C #937F1C #6C931C
triadic
#937F1C #1C937F #7F1C93
tetradic
#937F1C #1C9344 #1C3093 #931C6C
square
#937F1C #1C9344 #1C3093 #931C6C
split-complementary
#937F1C #1C6C93 #441C93
monochromatic
#2C2608 #605312 #937F1C #C6AB26 #DDC54C

Accessibility & contrast

On white

3.97
#937F1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#937F1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937F1C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937F1C#FFFFFF#000000##000000
##937F1C1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C03
Deuteranopia (green-blind)
#928223
Tritanopia (blue-blind)
#9F756D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #937f1c;
/* rgb */ color: rgb(147, 127, 28);
/* oklch */ color: oklch(59.8% 0.114 96.9);
Tailwind
colors: {
  custom: {
    50: '#b7a362',
    500: '#937f1c',
    950: '#000000',
  },
}
SCSS
$custom: #937f1c;
$custom-light: #b7a362;
$custom-dark: #000000;
JSON
{
  "hex": "#937f1c",
  "rgb": {
    "r": 147,
    "g": 127,
    "b": 28
  },
  "hsl": {
    "h": 49.916,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.11405,
    "h": 96.9
  },
  "luminance": 0.21466
}

Semantic roles & 50–950 ramp

primary
#937F1C
secondary
#4C5FBF
accent
#5AEB3D
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #937F1C

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

Preview Lab → · Contrast checker → · Palette generator →

#937F1C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva