#94791B#94791B

#94791B is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.6% C 0.111 H 91.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#94791B
RGBrgb(148, 121, 27)
HSLhsl(47, 69%, 34%)
HSVhsv(47, 82%, 58%)
CMYKcmyk(0%, 18.2%, 81.8%, 42%)
CIE-LABlab(51.89, 0.98, 51.17)
CIE-LCHlch(51.89, 51.18, 88.91°)
OKLaboklab(58.57% -0.0031 0.1108)
OKLCHoklch(58.57% 0.111 91.6)
XYZxyz(19.2491, 20.0510, 3.8931)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94791B #1B3694
analogous
#943D1B #94791B #73941B
triadic
#94791B #1B9479 #791B94
tetradic
#94791B #1B943D #1B3694 #941B73
square
#94791B #1B943D #1B3694 #941B73
split-complementary
#94791B #1B7394 #3D1B94
monochromatic
#2C2408 #604F12 #94791B #C8A324 #DEBD4B

Accessibility & contrast

On white

4.19
#94791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#94791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #94791B
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94791B#FFFFFF#000000##000000
##94791B1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#8E7F21
Tritanopia (blue-blind)
#A16E67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #94791b;
/* rgb */ color: rgb(148, 121, 27);
/* oklch */ color: oklch(58.6% 0.111 91.6);
Tailwind
colors: {
  custom: {
    50: '#b89f60',
    500: '#94791b',
    950: '#000000',
  },
}
SCSS
$custom: #94791b;
$custom-light: #b89f60;
$custom-dark: #000000;
JSON
{
  "hex": "#94791b",
  "rgb": {
    "r": 148,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 46.612,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.11079,
    "h": 91.6
  },
  "luminance": 0.2005
}

Semantic roles & 50–950 ramp

primary
#94791B
secondary
#4B65C0
accent
#63EC3C
background
#FBF9F5
surface
#F7F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #94791B

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

Preview Lab → · Contrast checker → · Palette generator →

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