#948A1E#948A1E

#948A1E is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.3% C 0.122 H 103.8°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#948A1E
RGBrgb(148, 138, 30)
HSLhsl(55, 66%, 35%)
HSVhsv(55, 80%, 58%)
CMYKcmyk(0%, 6.8%, 79.7%, 42%)
CIE-LABlab(56.65, -8.33, 54.44)
CIE-LCHlch(56.65, 55.07, 98.70°)
OKLaboklab(62.35% -0.0291 0.1184)
OKLCHoklch(62.35% 0.122 103.8)
XYZxyz(21.5365, 24.5675, 4.8356)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948A1E #1E2894
analogous
#944F1E #948A1E #63941E
triadic
#948A1E #1E948A #8A1E94
tetradic
#948A1E #1E944F #1E2894 #941E63
square
#948A1E #1E944F #1E2894 #941E63
split-complementary
#948A1E #1E6394 #4F1E94
monochromatic
#2E2B09 #615B14 #948A1E #C7B928 #DCD051

Accessibility & contrast

On white

3.55
#948A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#948A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948A1E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948A1E#FFFFFF#000000##000000
##948A1E1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978501
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#A08076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #948a1e;
/* rgb */ color: rgb(148, 138, 30);
/* oklch */ color: oklch(62.3% 0.122 103.8);
Tailwind
colors: {
  custom: {
    50: '#b7ab64',
    500: '#948a1e',
    950: '#000000',
  },
}
SCSS
$custom: #948a1e;
$custom-light: #b7ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#948a1e",
  "rgb": {
    "r": 148,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 54.915,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62346,
    "c": 0.12193,
    "h": 103.8
  },
  "luminance": 0.24567
}

Semantic roles & 50–950 ramp

primary
#948A1E
secondary
#4F59BF
accent
#4DE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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