#B2B13A#B2B13A

#B2B13A is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.9% C 0.138 H 108.9°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B2B13A
RGBrgb(178, 177, 58)
HSLhsl(60, 51%, 46%)
HSVhsv(60, 67%, 70%)
CMYKcmyk(0%, 0.6%, 67.4%, 30.2%)
CIE-LABlab(70.33, -14.24, 58.24)
CIE-LCHlch(70.33, 59.95, 103.74°)
OKLaboklab(73.93% -0.0446 0.1305)
OKLCHoklch(73.93% 0.138 108.9)
XYZxyz(34.8472, 41.2158, 10.1220)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B13A #3A3BB2
analogous
#B2753A #B2B13A #77B23A
triadic
#B2B13A #3AB2B1 #B13AB2
tetradic
#B2B13A #3AB275 #3A3BB2 #B23A77
square
#B2B13A #3AB275 #3A3BB2 #B23A77
split-complementary
#B2B13A #3A77B2 #753AB2
monochromatic
#56551C #84832B #B2B13A #CBCA5F #DAD98D

Accessibility & contrast

On white

2.27
#B2B13A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B2B13A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B13A
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B13A#FFFFFF#000000##000000
##B2B13A1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA28
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#BEA699
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b2b13a;
/* rgb */ color: rgb(178, 177, 58);
/* oklch */ color: oklch(73.9% 0.138 108.9);
Tailwind
colors: {
  custom: {
    50: '#ccc877',
    500: '#b2b13a',
    950: '#000000',
  },
}
SCSS
$custom: #b2b13a;
$custom-light: #ccc877;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b13a",
  "rgb": {
    "r": 178,
    "g": 177,
    "b": 58
  },
  "hsl": {
    "h": 59.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7393,
    "c": 0.13795,
    "h": 108.9
  },
  "luminance": 0.41215
}

Semantic roles & 50–950 ramp

primary
#B2B13A
secondary
#8384C4
accent
#4FDA4D
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B13A

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

Preview Lab → · Contrast checker → · Palette generator →

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