#948B27#948B27

#948B27 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.6% C 0.118 H 104.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#948B27
RGBrgb(148, 139, 39)
HSLhsl(55, 58%, 37%)
HSVhsv(55, 74%, 58%)
CMYKcmyk(0%, 6.1%, 73.6%, 42%)
CIE-LABlab(56.99, -8.48, 51.56)
CIE-LCHlch(56.99, 52.25, 99.33°)
OKLaboklab(62.63% -0.0286 0.1141)
OKLCHoklch(62.63% 0.118 104.1)
XYZxyz(21.8125, 24.9085, 5.5779)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948B27 #273094
analogous
#945527 #948B27 #679427
triadic
#948B27 #27948B #8B2794
tetradic
#948B27 #279455 #273094 #942767
square
#948B27 #279455 #273094 #942767
split-complementary
#948B27 #276794 #552794
monochromatic
#33300D #645E1A #948B27 #C4B834 #D5CC60

Accessibility & contrast

On white

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

On black

5.98
#948B27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948B27
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948B27#FFFFFF#000000##000000
##948B271.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988616
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#9F8177
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #948b27;
/* rgb */ color: rgb(148, 139, 39);
/* oklch */ color: oklch(62.6% 0.118 104.1);
Tailwind
colors: {
  custom: {
    50: '#b7ac68',
    500: '#948b27',
    950: '#000000',
  },
}
SCSS
$custom: #948b27;
$custom-light: #b7ac68;
$custom-dark: #000000;
JSON
{
  "hex": "#948b27",
  "rgb": {
    "r": 148,
    "g": 139,
    "b": 39
  },
  "hsl": {
    "h": 55.046,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62629,
    "c": 0.1176,
    "h": 104.1
  },
  "luminance": 0.24908
}

Semantic roles & 50–950 ramp

primary
#948B27
secondary
#5C64BB
accent
#53E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948B27

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

Preview Lab → · Contrast checker → · Palette generator →

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