#948E2C#948E2C

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

Color values

HEX#948E2C
RGBrgb(148, 142, 44)
HSLhsl(57, 54%, 38%)
HSVhsv(57, 70%, 58%)
CMYKcmyk(0%, 4.1%, 70.3%, 42%)
CIE-LABlab(57.87, -9.83, 50.46)
CIE-LCHlch(57.87, 51.41, 101.03°)
OKLaboklab(63.34% -0.0319 0.1127)
OKLCHoklch(63.34% 0.117 105.8)
XYZxyz(22.3412, 25.8246, 6.1902)
Luminance0.2582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E2C #2C3294
analogous
#945A2C #948E2C #66942C
triadic
#948E2C #2C948E #8E2C94
tetradic
#948E2C #2C945A #2C3294 #942C66
square
#948E2C #2C945A #2C3294 #942C66
split-complementary
#948E2C #2C6694 #5A2C94
monochromatic
#363310 #65611E #948E2C #C3BB3A #D2CC68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948E2C#FFFFFF#000000##000000
##948E2C1.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)
#9A891D
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e2c;
/* rgb */ color: rgb(148, 142, 44);
/* oklch */ color: oklch(63.3% 0.117 105.8);
Tailwind
colors: {
  custom: {
    50: '#b6ae6b',
    500: '#948e2c',
    950: '#000000',
  },
}
SCSS
$custom: #948e2c;
$custom-light: #b6ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#948e2c",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 56.538,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63343,
    "c": 0.1171,
    "h": 105.8
  },
  "luminance": 0.25824
}

Semantic roles & 50–950 ramp

primary
#948E2C
secondary
#6368B9
accent
#53DE4A
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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