#948720#948720

#948720 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.118 H 101.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#948720
RGBrgb(148, 135, 32)
HSLhsl(53, 64%, 35%)
HSVhsv(53, 78%, 58%)
CMYKcmyk(0%, 8.8%, 78.4%, 42%)
CIE-LABlab(55.82, -6.62, 53.01)
CIE-LCHlch(55.82, 53.42, 97.11°)
OKLaboklab(61.69% -0.0241 0.1158)
OKLCHoklch(61.69% 0.118 101.8)
XYZxyz(21.1384, 23.7291, 4.8330)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948720 #202D94
analogous
#944D20 #948720 #679420
triadic
#948720 #209487 #872094
tetradic
#948720 #20944D #202D94 #942067
square
#948720 #20944D #202D94 #942067
split-complementary
#948720 #206794 #4D2094
monochromatic
#2F2B0A #625915 #948720 #C6B52B #DACB54

Accessibility & contrast

On white

3.65
#948720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#948720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948720
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948720#FFFFFF#000000##000000
##9487201.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948308
Deuteranopia (green-blind)
#988828
Tritanopia (blue-blind)
#A07D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #948720;
/* rgb */ color: rgb(148, 135, 32);
/* oklch */ color: oklch(61.7% 0.118 101.8);
Tailwind
colors: {
  custom: {
    50: '#b7a965',
    500: '#948720',
    950: '#000000',
  },
}
SCSS
$custom: #948720;
$custom-light: #b7a965;
$custom-dark: #000000;
JSON
{
  "hex": "#948720",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 32
  },
  "hsl": {
    "h": 53.276,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61685,
    "c": 0.11823,
    "h": 101.8
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#948720
secondary
#525EBE
accent
#53E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948720

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

Preview Lab → · Contrast checker → · Palette generator →

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