#B2A023#B2A023

#B2A023 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.1% C 0.136 H 100.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#B2A023
RGBrgb(178, 160, 35)
HSLhsl(52, 67%, 42%)
HSVhsv(52, 80%, 70%)
CMYKcmyk(0%, 10.1%, 80.3%, 30.2%)
CIE-LABlab(65.54, -6.41, 61.83)
CIE-LCHlch(65.54, 62.16, 95.92°)
OKLaboklab(70.07% -0.0248 0.1339)
OKLCHoklch(70.07% 0.136 100.5)
XYZxyz(31.2358, 34.7295, 6.6479)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A023 #2335B2
analogous
#B25923 #B2A023 #7CB223
triadic
#B2A023 #23B2A0 #A023B2
tetradic
#B2A023 #23B259 #2335B2 #B2237C
square
#B2A023 #23B259 #2335B2 #B2237C
split-complementary
#B2A023 #237CB2 #5923B2
monochromatic
#4C440F #7F7219 #B2A023 #D8C43A #E2D46D

Accessibility & contrast

On white

2.64
#B2A023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#B2A023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A023
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A023#FFFFFF#000000##000000
##B2A0231.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#C09489
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b2a023;
/* rgb */ color: rgb(178, 160, 35);
/* oklch */ color: oklch(70.1% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#cdbb6a',
    500: '#b2a023',
    950: '#000000',
  },
}
SCSS
$custom: #b2a023;
$custom-light: #cdbb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a023",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 52.448,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.13615,
    "h": 100.5
  },
  "luminance": 0.34728
}

Semantic roles & 50–950 ramp

primary
#B2A023
secondary
#6874C9
accent
#53EA3E
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B2A023

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

Preview Lab → · Contrast checker → · Palette generator →

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