#94821B#94821B

#94821B is a mid, moderate yellow. Relative luminance 0.223; OKLCH L 60.5% C 0.117 H 98.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#94821B
RGBrgb(148, 130, 27)
HSLhsl(51, 69%, 34%)
HSVhsv(51, 82%, 58%)
CMYKcmyk(0%, 12.2%, 81.8%, 42%)
CIE-LABlab(54.39, -4.06, 53.38)
CIE-LCHlch(54.39, 53.54, 94.35°)
OKLaboklab(60.54% -0.0174 0.1155)
OKLCHoklch(60.54% 0.117 98.6)
XYZxyz(20.3943, 22.3414, 4.2748)
Luminance0.2234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94821B #1B2D94
analogous
#94451B #94821B #6A941B
triadic
#94821B #1B9482 #821B94
tetradic
#94821B #1B9445 #1B2D94 #941B6A
square
#94821B #1B9445 #1B2D94 #941B6A
split-complementary
#94821B #1B6A94 #451B94
monochromatic
#2C2708 #605512 #94821B #C8AF24 #DEC84B

Accessibility & contrast

On white

3.84
#94821B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#94821B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94821B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94821B#FFFFFF#000000##000000
##94821B1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#A0786F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #94821b;
/* rgb */ color: rgb(148, 130, 27);
/* oklch */ color: oklch(60.5% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#b7a562',
    500: '#94821b',
    950: '#000000',
  },
}
SCSS
$custom: #94821b;
$custom-light: #b7a562;
$custom-dark: #000000;
JSON
{
  "hex": "#94821b",
  "rgb": {
    "r": 148,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 51.074,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60543,
    "c": 0.11682,
    "h": 98.6
  },
  "luminance": 0.2234
}

Semantic roles & 50–950 ramp

primary
#94821B
secondary
#4B5CC0
accent
#56EC3C
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #94821B

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

Preview Lab → · Contrast checker → · Palette generator →

#94821B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva