#94871C#94871C

#94871C is a mid, vivid yellow. Relative luminance 0.237; OKLCH L 61.7% C 0.120 H 102.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#94871C
RGBrgb(148, 135, 28)
HSLhsl(54, 68%, 35%)
HSVhsv(54, 81%, 58%)
CMYKcmyk(0%, 8.8%, 81.1%, 42%)
CIE-LABlab(55.80, -6.77, 54.31)
CIE-LCHlch(55.80, 54.73, 97.11°)
OKLaboklab(61.66% -0.0249 0.1177)
OKLCHoklch(61.66% 0.12 102)
XYZxyz(21.0873, 23.7087, 4.5639)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94871C #1C2994
analogous
#944B1C #94871C #65941C
triadic
#94871C #1C9487 #871C94
tetradic
#94871C #1C944B #1C2994 #941C65
square
#94871C #1C944B #1C2994 #941C65
split-complementary
#94871C #1C6594 #4B1C94
monochromatic
#2D2909 #615812 #94871C #C7B626 #DDCE4D

Accessibility & contrast

On white

3.66
#94871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#94871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94871C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94871C#FFFFFF#000000##000000
##94871C1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A07D73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #94871c;
/* rgb */ color: rgb(148, 135, 28);
/* oklch */ color: oklch(61.7% 0.120 102.0);
Tailwind
colors: {
  custom: {
    50: '#b7a963',
    500: '#94871c',
    950: '#000000',
  },
}
SCSS
$custom: #94871c;
$custom-light: #b7a963;
$custom-dark: #000000;
JSON
{
  "hex": "#94871c",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 53.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61662,
    "c": 0.12034,
    "h": 102
  },
  "luminance": 0.23708
}

Semantic roles & 50–950 ramp

primary
#94871C
secondary
#4C59C0
accent
#50EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #94871C

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

Preview Lab → · Contrast checker → · Palette generator →

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