#B3A23B#B3A23B

#B3A23B is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.123 H 99.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B3A23B
RGBrgb(179, 162, 59)
HSLhsl(52, 50%, 47%)
HSVhsv(52, 67%, 70%)
CMYKcmyk(0%, 9.5%, 67%, 29.8%)
CIE-LABlab(66.32, -5.91, 53.75)
CIE-LCHlch(66.32, 54.07, 96.28°)
OKLaboklab(70.77% -0.021 0.1212)
OKLCHoklch(70.77% 0.123 99.8)
XYZxyz(32.3016, 35.7416, 9.3342)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A23B #3B4CB3
analogous
#B3663B #B3A23B #88B33B
triadic
#B3A23B #3BB3A2 #A23BB3
tetradic
#B3A23B #3BB366 #3B4CB3 #B33B88
square
#B3A23B #3BB366 #3B4CB3 #B33B88
split-complementary
#B3A23B #3B88B3 #663BB3
monochromatic
#574F1D #85782C #B3A23B #CBBC60 #DACF8E

Accessibility & contrast

On white

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

On black

8.15
#B3A23B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A23B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A23B#FFFFFF#000000##000000
##B3A23B1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2E
Deuteranopia (green-blind)
#B6A441
Tritanopia (blue-blind)
#C1978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b3a23b;
/* rgb */ color: rgb(179, 162, 59);
/* oklch */ color: oklch(70.8% 0.123 99.8);
Tailwind
colors: {
  custom: {
    50: '#cdbd76',
    500: '#b3a23b',
    950: '#000000',
  },
}
SCSS
$custom: #b3a23b;
$custom-light: #cdbd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a23b",
  "rgb": {
    "r": 179,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 51.5,
    "s": 50.42,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70766,
    "c": 0.123,
    "h": 99.8
  },
  "luminance": 0.3574
}

Semantic roles & 50–950 ramp

primary
#B3A23B
secondary
#858EC5
accent
#62DA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3A23B

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

Preview Lab → · Contrast checker → · Palette generator →

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