#B3A242#B3A242

#B3A242 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.8% C 0.117 H 99.3°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#B3A242
RGBrgb(179, 162, 66)
HSLhsl(51, 46%, 48%)
HSVhsv(51, 63%, 70%)
CMYKcmyk(0%, 9.5%, 63.1%, 29.8%)
CIE-LABlab(66.38, -5.47, 50.75)
CIE-LCHlch(66.38, 51.04, 96.15°)
OKLaboklab(70.83% -0.0189 0.1159)
OKLCHoklch(70.83% 0.117 99.3)
XYZxyz(32.4954, 35.8191, 10.3553)
Luminance0.3582 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A242 #4253B3
analogous
#B36942 #B3A242 #8CB342
triadic
#B3A242 #42B3A2 #A242B3
tetradic
#B3A242 #42B369 #4253B3 #B3428C
square
#B3A242 #42B369 #4253B3 #B3428C
split-complementary
#B3A242 #428CB3 #6942B3
monochromatic
#5A5121 #867A32 #B3A242 #C8BA6A #D9CF97

Accessibility & contrast

On white

2.57
#B3A242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#B3A242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A242
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A242#FFFFFF#000000##000000
##B3A2421.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E37
Deuteranopia (green-blind)
#B5A447
Tritanopia (blue-blind)
#C0978E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a242;
/* rgb */ color: rgb(179, 162, 66);
/* oklch */ color: oklch(70.8% 0.117 99.3);
Tailwind
colors: {
  custom: {
    50: '#cdbd7b',
    500: '#b3a242',
    950: '#000000',
  },
}
SCSS
$custom: #b3a242;
$custom-light: #cdbd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a242",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 50.973,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70833,
    "c": 0.11746,
    "h": 99.3
  },
  "luminance": 0.35818
}

Semantic roles & 50–950 ramp

primary
#B3A242
secondary
#8C95C4
accent
#66D652
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B3A242

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

Preview Lab → · Contrast checker → · Palette generator →

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