#948E2A#948E2A

#948E2A is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.118 H 105.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#948E2A
RGBrgb(148, 142, 42)
HSLhsl(57, 56%, 37%)
HSVhsv(57, 72%, 58%)
CMYKcmyk(0%, 4.1%, 71.6%, 42%)
CIE-LABlab(57.86, -9.94, 51.24)
CIE-LCHlch(57.86, 52.20, 100.98°)
OKLaboklab(63.33% -0.0325 0.114)
OKLCHoklch(63.33% 0.118 105.9)
XYZxyz(22.3045, 25.8099, 5.9969)
Luminance0.2581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E2A #2A3094
analogous
#94592A #948E2A #65942A
triadic
#948E2A #2A948E #8E2A94
tetradic
#948E2A #2A9459 #2A3094 #942A65
square
#948E2A #2A9459 #2A3094 #942A65
split-complementary
#948E2A #2A6594 #592A94
monochromatic
#35330F #64601C #948E2A #C4BC38 #D3CD65

Accessibility & contrast

On white

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

On black

6.16
#948E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948E2A
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948E2A#FFFFFF#000000##000000
##948E2A1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A891A
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e2a;
/* rgb */ color: rgb(148, 142, 42);
/* oklch */ color: oklch(63.3% 0.118 105.9);
Tailwind
colors: {
  custom: {
    50: '#b7ae6a',
    500: '#948e2a',
    950: '#000000',
  },
}
SCSS
$custom: #948e2a;
$custom-light: #b7ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#948e2a",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 56.604,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63328,
    "c": 0.11848,
    "h": 105.9
  },
  "luminance": 0.25809
}

Semantic roles & 50–950 ramp

primary
#948E2A
secondary
#6065B9
accent
#51DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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