#948626#948626

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

Color values

HEX#948626
RGBrgb(148, 134, 38)
HSLhsl(52, 59%, 36%)
HSVhsv(52, 74%, 58%)
CMYKcmyk(0%, 9.5%, 74.3%, 42%)
CIE-LABlab(55.57, -5.80, 50.58)
CIE-LCHlch(55.57, 50.91, 96.54°)
OKLaboklab(61.5% -0.0212 0.1118)
OKLCHoklch(61.5% 0.114 100.7)
XYZxyz(21.0887, 23.4870, 5.2560)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948626 #263494
analogous
#944F26 #948626 #6B9426
triadic
#948626 #269486 #862694
tetradic
#948626 #26944F #263494 #94266B
square
#948626 #26944F #263494 #94266B
split-complementary
#948626 #266B94 #4F2694
monochromatic
#332E0D #635A19 #948626 #C5B233 #D6C75F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948626#FFFFFF#000000##000000
##9486261.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)
#938216
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#A07C73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #948626;
/* rgb */ color: rgb(148, 134, 38);
/* oklch */ color: oklch(61.5% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#b7a867',
    500: '#948626',
    950: '#000000',
  },
}
SCSS
$custom: #948626;
$custom-light: #b7a867;
$custom-dark: #000000;
JSON
{
  "hex": "#948626",
  "rgb": {
    "r": 148,
    "g": 134,
    "b": 38
  },
  "hsl": {
    "h": 52.364,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61502,
    "c": 0.11377,
    "h": 100.7
  },
  "luminance": 0.23486
}

Semantic roles & 50–950 ramp

primary
#948626
secondary
#5B67BB
accent
#59E245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948626

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

Preview Lab → · Contrast checker → · Palette generator →

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