#B2A43F#B2A43F

#B2A43F is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.1% C 0.122 H 101.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B2A43F
RGBrgb(178, 164, 63)
HSLhsl(53, 48%, 47%)
HSVhsv(53, 65%, 70%)
CMYKcmyk(0%, 7.9%, 64.6%, 30.2%)
CIE-LABlab(66.81, -7.16, 52.51)
CIE-LCHlch(66.81, 52.99, 97.77°)
OKLaboklab(71.14% -0.024 0.1192)
OKLCHoklch(71.14% 0.122 101.4)
XYZxyz(32.5341, 36.3761, 10.0092)
Luminance0.3638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A43F #3F4DB2
analogous
#B26B3F #B2A43F #86B23F
triadic
#B2A43F #3FB2A4 #A43FB2
tetradic
#B2A43F #3FB26B #3F4DB2 #B23F86
square
#B2A43F #3FB26B #3F4DB2 #B23F86
split-complementary
#B2A43F #3F86B2 #6B3FB2
monochromatic
#58511F #857A2F #B2A43F #C9BD66 #D9D093

Accessibility & contrast

On white

2.54
#B2A43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B2A43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A43F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A43F#FFFFFF#000000##000000
##B2A43F1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F33
Deuteranopia (green-blind)
#B7A545
Tritanopia (blue-blind)
#BF998F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a43f;
/* rgb */ color: rgb(178, 164, 63);
/* oklch */ color: oklch(71.1% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#ccbe79',
    500: '#b2a43f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a43f;
$custom-light: #ccbe79;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a43f",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 63
  },
  "hsl": {
    "h": 52.696,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.7114,
    "c": 0.12163,
    "h": 101.4
  },
  "luminance": 0.36375
}

Semantic roles & 50–950 ramp

primary
#B2A43F
secondary
#8990C4
accent
#61D750
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A43F

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

Preview Lab → · Contrast checker → · Palette generator →

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