#948E1C#948E1C

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

Color values

HEX#948E1C
RGBrgb(148, 142, 28)
HSLhsl(57, 68%, 35%)
HSVhsv(57, 81%, 58%)
CMYKcmyk(0%, 4.1%, 81.1%, 42%)
CIE-LABlab(57.78, -10.56, 56.06)
CIE-LCHlch(57.78, 57.05, 100.67°)
OKLaboklab(63.24% -0.0355 0.1215)
OKLCHoklch(63.24% 0.127 106.3)
XYZxyz(22.0963, 25.7266, 4.9002)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E1C #1C2294
analogous
#94521C #948E1C #5E941C
triadic
#948E1C #1C948E #8E1C94
tetradic
#948E1C #1C9452 #1C2294 #941C5E
square
#948E1C #1C9452 #1C2294 #941C5E
split-complementary
#948E1C #1C5E94 #521C94
monochromatic
#2D2B09 #615D12 #948E1C #C7BF26 #DDD64D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948E1C#FFFFFF#000000##000000
##948E1C1.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)
#9D8D26
Tritanopia (blue-blind)
#9F8479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e1c;
/* rgb */ color: rgb(148, 142, 28);
/* oklch */ color: oklch(63.2% 0.127 106.3);
Tailwind
colors: {
  custom: {
    50: '#b7ae64',
    500: '#948e1c',
    950: '#000000',
  },
}
SCSS
$custom: #948e1c;
$custom-light: #b7ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#948e1c",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 57,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63239,
    "c": 0.12658,
    "h": 106.3
  },
  "luminance": 0.25726
}

Semantic roles & 50–950 ramp

primary
#948E1C
secondary
#4C52C0
accent
#45EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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