#949237#949237

#949237 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.113 H 108.0°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#949237
RGBrgb(148, 146, 55)
HSLhsl(59, 46%, 40%)
HSVhsv(59, 63%, 58%)
CMYKcmyk(0%, 1.4%, 62.8%, 42%)
CIE-LABlab(59.09, -11.29, 47.02)
CIE-LCHlch(59.09, 48.36, 103.50°)
OKLaboklab(64.35% -0.0348 0.1072)
OKLCHoklch(64.35% 0.113 108)
XYZxyz(23.1820, 27.1302, 7.6292)
Luminance0.2713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949237 #373994
analogous
#946437 #949237 #679437
triadic
#949237 #379492 #923794
tetradic
#949237 #379464 #373994 #943767
square
#949237 #379464 #373994 #943767
split-complementary
#949237 #376794 #643794
monochromatic
#3B3A16 #676626 #949237 #BCBA4C #CDCB78

Accessibility & contrast

On white

3.27
#949237 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#949237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949237
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949237#FFFFFF#000000##000000
##9492371.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C2C
Deuteranopia (green-blind)
#9F903C
Tritanopia (blue-blind)
#9E897F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #949237;
/* rgb */ color: rgb(148, 146, 55);
/* oklch */ color: oklch(64.3% 0.113 108.0);
Tailwind
colors: {
  custom: {
    50: '#b6b172',
    500: '#949237',
    950: '#000000',
  },
}
SCSS
$custom: #949237;
$custom-light: #b6b172;
$custom-dark: #000000;
JSON
{
  "hex": "#949237",
  "rgb": {
    "r": 148,
    "g": 146,
    "b": 55
  },
  "hsl": {
    "h": 58.71,
    "s": 45.813,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64347,
    "c": 0.11272,
    "h": 108
  },
  "luminance": 0.2713
}

Semantic roles & 50–950 ramp

primary
#949237
secondary
#7172B6
accent
#55D552
background
#FBFAF7
surface
#F6F5ED
border
#D0CFC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #949237

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

Preview Lab → · Contrast checker → · Palette generator →

#949237 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva