#948D2E#948D2E

#948D2E is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.115 H 105.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#948D2E
RGBrgb(148, 141, 46)
HSLhsl(56, 53%, 38%)
HSVhsv(56, 69%, 58%)
CMYKcmyk(0%, 4.7%, 68.9%, 42%)
CIE-LABlab(57.60, -9.18, 49.37)
CIE-LCHlch(57.60, 50.21, 100.53°)
OKLaboklab(63.13% -0.0299 0.1107)
OKLCHoklch(63.13% 0.115 105.1)
XYZxyz(22.2316, 25.5437, 6.3436)
Luminance0.2554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948D2E #2E3594
analogous
#945A2E #948D2E #68942E
triadic
#948D2E #2E948D #8D2E94
tetradic
#948D2E #2E945A #2E3594 #942E68
square
#948D2E #2E945A #2E3594 #942E68
split-complementary
#948D2E #2E6894 #5A2E94
monochromatic
#373411 #65611F #948D2E #C3B93D #D1CA6B

Accessibility & contrast

On white

3.44
#948D2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#948D2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948D2E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948D2E#FFFFFF#000000##000000
##948D2E1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998820
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#9F837A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #948d2e;
/* rgb */ color: rgb(148, 141, 46);
/* oklch */ color: oklch(63.1% 0.115 105.1);
Tailwind
colors: {
  custom: {
    50: '#b6ae6c',
    500: '#948d2e',
    950: '#000000',
  },
}
SCSS
$custom: #948d2e;
$custom-light: #b6ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#948d2e",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 46
  },
  "hsl": {
    "h": 55.882,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63134,
    "c": 0.11467,
    "h": 105.1
  },
  "luminance": 0.25543
}

Semantic roles & 50–950 ramp

primary
#948D2E
secondary
#666BB8
accent
#56DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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