#948C2E#948C2E

#948C2E is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.114 H 104.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#948C2E
RGBrgb(148, 140, 46)
HSLhsl(55, 53%, 38%)
HSVhsv(55, 69%, 58%)
CMYKcmyk(0%, 5.4%, 68.9%, 42%)
CIE-LABlab(57.32, -8.64, 49.08)
CIE-LCHlch(57.32, 49.83, 99.98°)
OKLaboklab(62.91% -0.0283 0.1101)
OKLCHoklch(62.91% 0.114 104.4)
XYZxyz(22.0848, 25.2502, 6.2947)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948C2E #2E3694
analogous
#94592E #948C2E #69942E
triadic
#948C2E #2E948C #8C2E94
tetradic
#948C2E #2E9459 #2E3694 #942E69
square
#948C2E #2E9459 #2E3694 #942E69
split-complementary
#948C2E #2E6994 #592E94
monochromatic
#373411 #65601F #948C2E #C3B83D #D1C96B

Accessibility & contrast

On white

3.47
#948C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#948C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948C2E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948C2E#FFFFFF#000000##000000
##948C2E1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988721
Deuteranopia (green-blind)
#9B8C34
Tritanopia (blue-blind)
#9F8279
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #948c2e;
/* rgb */ color: rgb(148, 140, 46);
/* oklch */ color: oklch(62.9% 0.114 104.4);
Tailwind
colors: {
  custom: {
    50: '#b6ad6c',
    500: '#948c2e',
    950: '#000000',
  },
}
SCSS
$custom: #948c2e;
$custom-light: #b6ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#948c2e",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 55.294,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62909,
    "c": 0.11369,
    "h": 104.4
  },
  "luminance": 0.25249
}

Semantic roles & 50–950 ramp

primary
#948C2E
secondary
#666CB8
accent
#57DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948C2E

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

Preview Lab → · Contrast checker → · Palette generator →

#948C2E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva