#B2A83F#B2A83F

#B2A83F is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.125 H 103.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B2A83F
RGBrgb(178, 168, 63)
HSLhsl(55, 48%, 47%)
HSVhsv(55, 65%, 70%)
CMYKcmyk(0%, 5.6%, 64.6%, 30.2%)
CIE-LABlab(67.90, -9.27, 53.66)
CIE-LCHlch(67.90, 54.46, 99.80°)
OKLaboklab(72.01% -0.03 0.1217)
OKLCHoklch(72.01% 0.125 103.9)
XYZxyz(33.2612, 37.8304, 10.2516)
Luminance0.3783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A83F #3F49B2
analogous
#B26F3F #B2A83F #82B23F
triadic
#B2A83F #3FB2A8 #A83FB2
tetradic
#B2A83F #3FB26F #3F49B2 #B23F82
square
#B2A83F #3FB26F #3F49B2 #B23F82
split-complementary
#B2A83F #3F82B2 #6F3FB2
monochromatic
#58531F #857D2F #B2A83F #C9C066 #D9D393

Accessibility & contrast

On white

2.45
#B2A83F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B2A83F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A83F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A83F#FFFFFF#000000##000000
##B2A83F1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A332
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#BF9D92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a83f;
/* rgb */ color: rgb(178, 168, 63);
/* oklch */ color: oklch(72.0% 0.125 103.9);
Tailwind
colors: {
  custom: {
    50: '#ccc179',
    500: '#b2a83f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a83f;
$custom-light: #ccc179;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a83f",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 63
  },
  "hsl": {
    "h": 54.783,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72005,
    "c": 0.12533,
    "h": 103.9
  },
  "luminance": 0.37829
}

Semantic roles & 50–950 ramp

primary
#B2A83F
secondary
#898EC4
accent
#5CD750
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A83F

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

Preview Lab → · Contrast checker → · Palette generator →

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