#948E2D#948E2D

#948E2D is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.116 H 105.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#948E2D
RGBrgb(148, 142, 45)
HSLhsl(57, 53%, 38%)
HSVhsv(57, 70%, 58%)
CMYKcmyk(0%, 4.1%, 69.6%, 42%)
CIE-LABlab(57.88, -9.78, 50.06)
CIE-LCHlch(57.88, 51.00, 101.05°)
OKLaboklab(63.35% -0.0317 0.112)
OKLCHoklch(63.35% 0.116 105.8)
XYZxyz(22.3603, 25.8322, 6.2904)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E2D #2D3394
analogous
#945A2D #948E2D #66942D
triadic
#948E2D #2D948E #8E2D94
tetradic
#948E2D #2D945A #2D3394 #942D66
square
#948E2D #2D945A #2D3394 #942D66
split-complementary
#948E2D #2D6694 #5A2D94
monochromatic
#363410 #65611F #948E2D #C3BB3B #D2CC6A

Accessibility & contrast

On white

3.41
#948E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#948E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948E2D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948E2D#FFFFFF#000000##000000
##948E2D1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891F
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#9F847B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e2d;
/* rgb */ color: rgb(148, 142, 45);
/* oklch */ color: oklch(63.4% 0.116 105.8);
Tailwind
colors: {
  custom: {
    50: '#b6ae6c',
    500: '#948e2d',
    950: '#000000',
  },
}
SCSS
$custom: #948e2d;
$custom-light: #b6ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#948e2d",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 56.505,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63352,
    "c": 0.11638,
    "h": 105.8
  },
  "luminance": 0.25831
}

Semantic roles & 50–950 ramp

primary
#948E2D
secondary
#6469B8
accent
#54DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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