#937B1C#937B1C

#937B1C is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.9% C 0.111 H 93.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#937B1C
RGBrgb(147, 123, 28)
HSLhsl(48, 68%, 34%)
HSVhsv(48, 81%, 58%)
CMYKcmyk(0%, 16.3%, 81%, 42.4%)
CIE-LABlab(52.35, -0.58, 51.20)
CIE-LCHlch(52.35, 51.20, 90.65°)
OKLaboklab(58.91% -0.0074 0.1111)
OKLCHoklch(58.91% 0.111 93.8)
XYZxyz(19.3263, 20.4540, 4.0285)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#937B1C #1C3493
analogous
#93401C #937B1C #70931C
triadic
#937B1C #1C937B #7B1C93
tetradic
#937B1C #1C9340 #1C3493 #931C70
square
#937B1C #1C9340 #1C3493 #931C70
split-complementary
#937B1C #1C7093 #401C93
monochromatic
#2C2508 #605012 #937B1C #C6A626 #DDC04C

Accessibility & contrast

On white

4.13
#937B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#937B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #937B1C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##937B1C#FFFFFF#000000##000000
##937B1C1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897905
Deuteranopia (green-blind)
#8F8022
Tritanopia (blue-blind)
#9F7069
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #937b1c;
/* rgb */ color: rgb(147, 123, 28);
/* oklch */ color: oklch(58.9% 0.111 93.8);
Tailwind
colors: {
  custom: {
    50: '#b7a061',
    500: '#937b1c',
    950: '#000000',
  },
}
SCSS
$custom: #937b1c;
$custom-light: #b7a061;
$custom-dark: #000000;
JSON
{
  "hex": "#937b1c",
  "rgb": {
    "r": 147,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 47.899,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58906,
    "c": 0.11131,
    "h": 93.8
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#937B1C
secondary
#4C63BF
accent
#60EB3D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E05
muted
#817E7A

Preview Lab

Preview with #937B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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