#948627#948627

#948627 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.5% C 0.113 H 100.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#948627
RGBrgb(148, 134, 39)
HSLhsl(52, 58%, 37%)
HSVhsv(52, 74%, 58%)
CMYKcmyk(0%, 9.5%, 73.6%, 42%)
CIE-LABlab(55.58, -5.75, 50.19)
CIE-LCHlch(55.58, 50.52, 96.53°)
OKLaboklab(61.51% -0.0209 0.1112)
OKLCHoklch(61.51% 0.113 100.7)
XYZxyz(21.1050, 23.4935, 5.3421)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948627 #273594
analogous
#945027 #948627 #6C9427
triadic
#948627 #279486 #862794
tetradic
#948627 #279450 #273594 #94276C
square
#948627 #279450 #273594 #94276C
split-complementary
#948627 #276C94 #502794
monochromatic
#332E0D #645A1A #948627 #C4B234 #D5C660

Accessibility & contrast

On white

3.69
#948627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#948627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948627
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948627#FFFFFF#000000##000000
##9486271.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938217
Deuteranopia (green-blind)
#97872D
Tritanopia (blue-blind)
#A07C73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #948627;
/* rgb */ color: rgb(148, 134, 39);
/* oklch */ color: oklch(61.5% 0.113 100.7);
Tailwind
colors: {
  custom: {
    50: '#b7a868',
    500: '#948627',
    950: '#000000',
  },
}
SCSS
$custom: #948627;
$custom-light: #b7a868;
$custom-dark: #000000;
JSON
{
  "hex": "#948627",
  "rgb": {
    "r": 148,
    "g": 134,
    "b": 39
  },
  "hsl": {
    "h": 52.294,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61509,
    "c": 0.11312,
    "h": 100.7
  },
  "luminance": 0.23493
}

Semantic roles & 50–950 ramp

primary
#948627
secondary
#5C68BB
accent
#5AE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948627

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

Preview Lab → · Contrast checker → · Palette generator →

#948627 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva