#948B2D#948B2D

#948B2D is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.7% C 0.113 H 103.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#948B2D
RGBrgb(148, 139, 45)
HSLhsl(55, 53%, 38%)
HSVhsv(55, 70%, 58%)
CMYKcmyk(0%, 6.1%, 69.6%, 42%)
CIE-LABlab(57.03, -8.15, 49.20)
CIE-LCHlch(57.03, 49.87, 99.41°)
OKLaboklab(62.68% -0.0271 0.1102)
OKLCHoklch(62.68% 0.113 103.8)
XYZxyz(21.9199, 24.9515, 6.1436)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948B2D #2D3694
analogous
#94572D #948B2D #6A942D
triadic
#948B2D #2D948B #8B2D94
tetradic
#948B2D #2D9457 #2D3694 #942D6A
square
#948B2D #2D9457 #2D3694 #942D6A
split-complementary
#948B2D #2D6A94 #572D94
monochromatic
#363310 #655F1F #948B2D #C3B73B #D2C96A

Accessibility & contrast

On white

3.51
#948B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#948B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948B2D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948B2D#FFFFFF#000000##000000
##948B2D1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97861F
Deuteranopia (green-blind)
#9A8B33
Tritanopia (blue-blind)
#9F8178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #948b2d;
/* rgb */ color: rgb(148, 139, 45);
/* oklch */ color: oklch(62.7% 0.113 103.8);
Tailwind
colors: {
  custom: {
    50: '#b6ac6c',
    500: '#948b2d',
    950: '#000000',
  },
}
SCSS
$custom: #948b2d;
$custom-light: #b6ac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#948b2d",
  "rgb": {
    "r": 148,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 54.757,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62676,
    "c": 0.11346,
    "h": 103.8
  },
  "luminance": 0.24951
}

Semantic roles & 50–950 ramp

primary
#948B2D
secondary
#646CB8
accent
#58DD4B
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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