#948E1E#948E1E

#948E1E is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.126 H 106.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#948E1E
RGBrgb(148, 142, 30)
HSLhsl(57, 66%, 35%)
HSVhsv(57, 80%, 58%)
CMYKcmyk(0%, 4.1%, 79.7%, 42%)
CIE-LABlab(57.79, -10.49, 55.45)
CIE-LCHlch(57.79, 56.44, 100.71°)
OKLaboklab(63.25% -0.0351 0.1206)
OKLCHoklch(63.25% 0.126 106.3)
XYZxyz(22.1210, 25.7365, 5.0305)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E1E #1E2494
analogous
#94531E #948E1E #5F941E
triadic
#948E1E #1E948E #8E1E94
tetradic
#948E1E #1E9453 #1E2494 #941E5F
square
#948E1E #1E9453 #1E2494 #941E5F
split-complementary
#948E1E #1E5F94 #531E94
monochromatic
#2E2C09 #615D14 #948E1E #C7BF28 #DCD551

Accessibility & contrast

On white

3.42
#948E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#948E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948E1E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948E1E#FFFFFF#000000##000000
##948E1E1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9D8D27
Tritanopia (blue-blind)
#9F8479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e1e;
/* rgb */ color: rgb(148, 142, 30);
/* oklch */ color: oklch(63.2% 0.126 106.3);
Tailwind
colors: {
  custom: {
    50: '#b7ae65',
    500: '#948e1e',
    950: '#000000',
  },
}
SCSS
$custom: #948e1e;
$custom-light: #b7ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#948e1e",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 56.949,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6325,
    "c": 0.1256,
    "h": 106.3
  },
  "luminance": 0.25736
}

Semantic roles & 50–950 ramp

primary
#948E1E
secondary
#4F55BF
accent
#47E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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