#948E27#948E27

#948E27 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.120 H 106.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#948E27
RGBrgb(148, 142, 39)
HSLhsl(57, 58%, 37%)
HSVhsv(57, 74%, 58%)
CMYKcmyk(0%, 4.1%, 73.6%, 42%)
CIE-LABlab(57.84, -10.09, 52.38)
CIE-LCHlch(57.84, 53.34, 100.91°)
OKLaboklab(63.31% -0.0332 0.1158)
OKLCHoklch(63.31% 0.12 106)
XYZxyz(22.2528, 25.7892, 5.7247)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E27 #272D94
analogous
#945827 #948E27 #649427
triadic
#948E27 #27948E #8E2794
tetradic
#948E27 #279458 #272D94 #942764
square
#948E27 #279458 #272D94 #942764
split-complementary
#948E27 #276494 #582794
monochromatic
#33310D #64601A #948E27 #C4BC34 #D5CF60

Accessibility & contrast

On white

3.41
#948E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#948E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948E27
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948E27#FFFFFF#000000##000000
##948E271.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8914
Deuteranopia (green-blind)
#9D8D2E
Tritanopia (blue-blind)
#9F847A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e27;
/* rgb */ color: rgb(148, 142, 39);
/* oklch */ color: oklch(63.3% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#b7ae69',
    500: '#948e27',
    950: '#000000',
  },
}
SCSS
$custom: #948e27;
$custom-light: #b7ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#948e27",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 56.697,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63306,
    "c": 0.12046,
    "h": 106
  },
  "luminance": 0.25788
}

Semantic roles & 50–950 ramp

primary
#948E27
secondary
#5C61BB
accent
#4FE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948E27

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

Preview Lab → · Contrast checker → · Palette generator →

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