#B2A239#B2A239

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

Color values

HEX#B2A239
RGBrgb(178, 162, 57)
HSLhsl(52, 51%, 46%)
HSVhsv(52, 68%, 70%)
CMYKcmyk(0%, 9%, 68%, 30.2%)
CIE-LABlab(66.22, -6.47, 54.45)
CIE-LCHlch(66.22, 54.83, 96.77°)
OKLaboklab(70.66% -0.0227 0.1224)
OKLCHoklch(70.66% 0.124 100.5)
XYZxyz(32.0203, 35.6025, 9.0554)
Luminance0.3560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A239 #3949B2
analogous
#B26539 #B2A239 #85B239
triadic
#B2A239 #39B2A2 #A239B2
tetradic
#B2A239 #39B265 #3949B2 #B23985
square
#B2A239 #39B265 #3949B2 #B23985
split-complementary
#B2A239 #3985B2 #6539B2
monochromatic
#554E1B #84782A #B2A239 #CBBD5D #DAD08B

Accessibility & contrast

On white

2.59
#B2A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B2A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A239
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A239#FFFFFF#000000##000000
##B2A2391.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D2B
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#BF978D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a239;
/* rgb */ color: rgb(178, 162, 57);
/* oklch */ color: oklch(70.7% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#ccbd75',
    500: '#b2a239',
    950: '#000000',
  },
}
SCSS
$custom: #b2a239;
$custom-light: #ccbd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a239",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 52.066,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70655,
    "c": 0.12447,
    "h": 100.5
  },
  "luminance": 0.35601
}

Semantic roles & 50–950 ramp

primary
#B2A239
secondary
#828BC4
accent
#60DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B2A239

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

Preview Lab → · Contrast checker → · Palette generator →

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