#948620#948620

#948620 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.5% C 0.117 H 101.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#948620
RGBrgb(148, 134, 32)
HSLhsl(53, 64%, 35%)
HSVhsv(53, 78%, 58%)
CMYKcmyk(0%, 9.5%, 78.4%, 42%)
CIE-LABlab(55.53, -6.07, 52.75)
CIE-LCHlch(55.53, 53.10, 96.56°)
OKLaboklab(61.46% -0.0226 0.1152)
OKLCHoklch(61.46% 0.117 101.1)
XYZxyz(20.9996, 23.4514, 4.7867)
Luminance0.2345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948620 #202E94
analogous
#944C20 #948620 #689420
triadic
#948620 #209486 #862094
tetradic
#948620 #20944C #202E94 #942068
square
#948620 #20944C #202E94 #942068
split-complementary
#948620 #206894 #4C2094
monochromatic
#2F2B0A #625815 #948620 #C6B42B #DACA54

Accessibility & contrast

On white

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

On black

5.69
#948620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948620
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948620#FFFFFF#000000##000000
##9486201.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938208
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#A07C73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #948620;
/* rgb */ color: rgb(148, 134, 32);
/* oklch */ color: oklch(61.5% 0.117 101.1);
Tailwind
colors: {
  custom: {
    50: '#b7a864',
    500: '#948620',
    950: '#000000',
  },
}
SCSS
$custom: #948620;
$custom-light: #b7a864;
$custom-dark: #000000;
JSON
{
  "hex": "#948620",
  "rgb": {
    "r": 148,
    "g": 134,
    "b": 32
  },
  "hsl": {
    "h": 52.759,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61461,
    "c": 0.11739,
    "h": 101.1
  },
  "luminance": 0.2345
}

Semantic roles & 50–950 ramp

primary
#948620
secondary
#525FBE
accent
#55E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948620

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

Preview Lab → · Contrast checker → · Palette generator →

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