#B3A638#B3A638

#B3A638 is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.129 H 102.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#B3A638
RGBrgb(179, 166, 56)
HSLhsl(54, 52%, 46%)
HSVhsv(54, 69%, 70%)
CMYKcmyk(0%, 7.3%, 68.7%, 29.8%)
CIE-LABlab(67.38, -8.20, 56.08)
CIE-LCHlch(67.38, 56.68, 98.32°)
OKLaboklab(71.6% -0.0278 0.1256)
OKLCHoklch(71.6% 0.129 102.5)
XYZxyz(32.9418, 37.1430, 9.1747)
Luminance0.3714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A638 #3845B3
analogous
#B36938 #B3A638 #82B338
triadic
#B3A638 #38B3A6 #A638B3
tetradic
#B3A638 #38B369 #3845B3 #B33882
square
#B3A638 #38B369 #3845B3 #B33882
split-complementary
#B3A638 #3882B3 #6938B3
monochromatic
#56501B #847B29 #B3A638 #CCC05C #DBD28B

Accessibility & contrast

On white

2.49
#B3A638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#B3A638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A638
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A638#FFFFFF#000000##000000
##B3A6381.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A128
Deuteranopia (green-blind)
#B9A73F
Tritanopia (blue-blind)
#C09A90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b3a638;
/* rgb */ color: rgb(179, 166, 56);
/* oklch */ color: oklch(71.6% 0.129 102.5);
Tailwind
colors: {
  custom: {
    50: '#cdc075',
    500: '#b3a638',
    950: '#000000',
  },
}
SCSS
$custom: #b3a638;
$custom-light: #cdc075;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a638",
  "rgb": {
    "r": 179,
    "g": 166,
    "b": 56
  },
  "hsl": {
    "h": 53.659,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71602,
    "c": 0.12866,
    "h": 102.5
  },
  "luminance": 0.37142
}

Semantic roles & 50–950 ramp

primary
#B3A638
secondary
#8289C5
accent
#5BDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A638

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

Preview Lab → · Contrast checker → · Palette generator →

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