#948E2E#948E2E

#948E2E 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#948E2E
RGBrgb(148, 142, 46)
HSLhsl(56, 53%, 38%)
HSVhsv(56, 69%, 58%)
CMYKcmyk(0%, 4.1%, 68.9%, 42%)
CIE-LABlab(57.88, -9.72, 49.65)
CIE-LCHlch(57.88, 50.60, 101.07°)
OKLaboklab(63.36% -0.0314 0.1113)
OKLCHoklch(63.36% 0.116 105.8)
XYZxyz(22.3797, 25.8400, 6.3930)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E2E #2E3494
analogous
#945B2E #948E2E #67942E
triadic
#948E2E #2E948E #8E2E94
tetradic
#948E2E #2E945B #2E3494 #942E67
square
#948E2E #2E945B #2E3494 #942E67
split-complementary
#948E2E #2E6794 #5B2E94
monochromatic
#373411 #65611F #948E2E #C3BB3D #D1CB6B

Accessibility & contrast

On white

3.40
#948E2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##948E2E#FFFFFF#000000##000000
##948E2E1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #948e2e;
/* rgb */ color: rgb(148, 142, 46);
/* oklch */ color: oklch(63.4% 0.116 105.8);
Tailwind
colors: {
  custom: {
    50: '#b6ae6d',
    500: '#948e2e',
    950: '#000000',
  },
}
SCSS
$custom: #948e2e;
$custom-light: #b6ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#948e2e",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 46
  },
  "hsl": {
    "h": 56.471,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6336,
    "c": 0.11565,
    "h": 105.8
  },
  "luminance": 0.25839
}

Semantic roles & 50–950 ramp

primary
#948E2E
secondary
#666AB8
accent
#54DC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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