#94821C#94821C

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

Color values

HEX#94821C
RGBrgb(148, 130, 28)
HSLhsl(51, 68%, 35%)
HSVhsv(51, 81%, 58%)
CMYKcmyk(0%, 12.2%, 81.1%, 42%)
CIE-LABlab(54.39, -4.02, 53.06)
CIE-LCHlch(54.39, 53.22, 94.33°)
OKLaboklab(60.55% -0.0172 0.115)
OKLCHoklch(60.55% 0.116 98.5)
XYZxyz(20.4060, 22.3461, 4.3368)
Luminance0.2235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94821C #1C2E94
analogous
#94461C #94821C #6A941C
triadic
#94821C #1C9482 #821C94
tetradic
#94821C #1C9446 #1C2E94 #941C6A
square
#94821C #1C9446 #1C2E94 #941C6A
split-complementary
#94821C #1C6A94 #461C94
monochromatic
#2D2809 #615512 #94821C #C7AF26 #DDC84D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##94821C#FFFFFF#000000##000000
##94821C1.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)
#907F01
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#A0786F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #94821c;
/* rgb */ color: rgb(148, 130, 28);
/* oklch */ color: oklch(60.5% 0.116 98.5);
Tailwind
colors: {
  custom: {
    50: '#b7a562',
    500: '#94821c',
    950: '#000000',
  },
}
SCSS
$custom: #94821c;
$custom-light: #b7a562;
$custom-dark: #000000;
JSON
{
  "hex": "#94821c",
  "rgb": {
    "r": 148,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 51,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.60549,
    "c": 0.11631,
    "h": 98.5
  },
  "luminance": 0.22345
}

Semantic roles & 50–950 ramp

primary
#94821C
secondary
#4C5DC0
accent
#57EB3D
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #94821C

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

Preview Lab → · Contrast checker → · Palette generator →

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