#B3A236#B3A236

#B3A236 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.7% C 0.127 H 100.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B3A236
RGBrgb(179, 162, 54)
HSLhsl(52, 54%, 46%)
HSVhsv(52, 70%, 70%)
CMYKcmyk(0%, 9.5%, 69.8%, 29.8%)
CIE-LABlab(66.28, -6.19, 55.78)
CIE-LCHlch(66.28, 56.12, 96.34°)
OKLaboklab(70.72% -0.0224 0.1246)
OKLCHoklch(70.72% 0.127 100.2)
XYZxyz(32.1780, 35.6922, 8.6837)
Luminance0.3569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A236 #3647B3
analogous
#B36336 #B3A236 #85B336
triadic
#B3A236 #36B3A2 #A236B3
tetradic
#B3A236 #36B363 #3647B3 #B33685
square
#B3A236 #36B363 #3647B3 #B33685
split-complementary
#B3A236 #3685B3 #6336B3
monochromatic
#554D1A #847728 #B3A236 #CDBD59 #DBD088

Accessibility & contrast

On white

2.58
#B3A236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B3A236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A236
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A236#FFFFFF#000000##000000
##B3A2361.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D26
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#C1968C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a236;
/* rgb */ color: rgb(179, 162, 54);
/* oklch */ color: oklch(70.7% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#cdbd73',
    500: '#b3a236',
    950: '#000000',
  },
}
SCSS
$custom: #b3a236;
$custom-light: #cdbd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a236",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 51.84,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70724,
    "c": 0.12661,
    "h": 100.2
  },
  "luminance": 0.35691
}

Semantic roles & 50–950 ramp

primary
#B3A236
secondary
#8089C5
accent
#5FDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A236

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

Preview Lab → · Contrast checker → · Palette generator →

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