#B3A338#B3A338

#B3A338 is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.0% C 0.126 H 100.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B3A338
RGBrgb(179, 163, 56)
HSLhsl(52, 52%, 46%)
HSVhsv(52, 69%, 70%)
CMYKcmyk(0%, 8.9%, 68.7%, 29.8%)
CIE-LABlab(66.57, -6.61, 55.26)
CIE-LCHlch(66.57, 55.65, 96.83°)
OKLaboklab(70.96% -0.0233 0.1239)
OKLCHoklch(70.96% 0.126 100.7)
XYZxyz(32.4028, 36.0651, 8.9951)
Luminance0.3606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A338 #3848B3
analogous
#B36538 #B3A338 #85B338
triadic
#B3A338 #38B3A3 #A338B3
tetradic
#B3A338 #38B365 #3848B3 #B33885
square
#B3A338 #38B365 #3848B3 #B33885
split-complementary
#B3A338 #3885B3 #6538B3
monochromatic
#564E1B #847929 #B3A338 #CCBD5C #DBD08B

Accessibility & contrast

On white

2.56
#B3A338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B3A338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A338
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A338#FFFFFF#000000##000000
##B3A3381.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#B7A53E
Tritanopia (blue-blind)
#C1978D
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b3a338;
/* rgb */ color: rgb(179, 163, 56);
/* oklch */ color: oklch(71.0% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#cdbd75',
    500: '#b3a338',
    950: '#000000',
  },
}
SCSS
$custom: #b3a338;
$custom-light: #cdbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a338",
  "rgb": {
    "r": 179,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 52.195,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70956,
    "c": 0.12605,
    "h": 100.7
  },
  "luminance": 0.36064
}

Semantic roles & 50–950 ramp

primary
#B3A338
secondary
#828BC5
accent
#5FDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A338

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

Preview Lab → · Contrast checker → · Palette generator →

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