#948A2E#948A2E

#948A2E is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.5% C 0.112 H 103.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#948A2E
RGBrgb(148, 138, 46)
HSLhsl(54, 53%, 38%)
HSVhsv(54, 69%, 58%)
CMYKcmyk(0%, 6.8%, 68.9%, 42%)
CIE-LABlab(56.75, -7.55, 48.50)
CIE-LCHlch(56.75, 49.09, 98.85°)
OKLaboklab(62.46% -0.0253 0.1089)
OKLCHoklch(62.46% 0.112 103.1)
XYZxyz(21.7953, 24.6710, 6.1982)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948A2E #2E3894
analogous
#94572E #948A2E #6B942E
triadic
#948A2E #2E948A #8A2E94
tetradic
#948A2E #2E9457 #2E3894 #942E6B
square
#948A2E #2E9457 #2E3894 #942E6B
split-complementary
#948A2E #2E6B94 #572E94
monochromatic
#373311 #655E1F #948A2E #C3B53D #D1C76B

Accessibility & contrast

On white

3.54
#948A2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#948A2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948A2E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948A2E#FFFFFF#000000##000000
##948A2E1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#9A8A34
Tritanopia (blue-blind)
#9F8077
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #948a2e;
/* rgb */ color: rgb(148, 138, 46);
/* oklch */ color: oklch(62.5% 0.112 103.1);
Tailwind
colors: {
  custom: {
    50: '#b6ab6c',
    500: '#948a2e',
    950: '#000000',
  },
}
SCSS
$custom: #948a2e;
$custom-light: #b6ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#948a2e",
  "rgb": {
    "r": 148,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 54.118,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6246,
    "c": 0.11177,
    "h": 103.1
  },
  "luminance": 0.2467
}

Semantic roles & 50–950 ramp

primary
#948A2E
secondary
#666EB8
accent
#5ADC4C
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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