#B3A230#B3A230

#B3A230 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.131 H 100.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B3A230
RGBrgb(179, 162, 48)
HSLhsl(52, 58%, 45%)
HSVhsv(52, 73%, 70%)
CMYKcmyk(0%, 9.5%, 73.2%, 29.8%)
CIE-LABlab(66.24, -6.50, 58.08)
CIE-LCHlch(66.24, 58.44, 96.38°)
OKLaboklab(70.68% -0.0239 0.1284)
OKLCHoklch(70.68% 0.131 100.5)
XYZxyz(32.0457, 35.6393, 7.9868)
Luminance0.3564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A230 #3041B3
analogous
#B36130 #B3A230 #82B330
triadic
#B3A230 #30B3A2 #A230B3
tetradic
#B3A230 #30B361 #3041B3 #B33082
square
#B3A230 #30B361 #3041B3 #B33082
split-complementary
#B3A230 #3082B3 #6130B3
monochromatic
#524B16 #837623 #B3A230 #D0BF50 #DDD180

Accessibility & contrast

On white

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

On black

8.13
#B3A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A230
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A230#FFFFFF#000000##000000
##B3A2301.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3a230;
/* rgb */ color: rgb(179, 162, 48);
/* oklch */ color: oklch(70.7% 0.131 100.5);
Tailwind
colors: {
  custom: {
    50: '#cdbd70',
    500: '#b3a230',
    950: '#000000',
  },
}
SCSS
$custom: #b3a230;
$custom-light: #cdbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a230",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 52.214,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70679,
    "c": 0.13058,
    "h": 100.5
  },
  "luminance": 0.35638
}

Semantic roles & 50–950 ramp

primary
#B3A230
secondary
#7983C6
accent
#5BE147
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A230

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

Preview Lab → · Contrast checker → · Palette generator →

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