#B2B243#B2B243

#B2B243 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.2% C 0.132 H 109.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#B2B243
RGBrgb(178, 178, 67)
HSLhsl(60, 45%, 48%)
HSVhsv(60, 62%, 70%)
CMYKcmyk(0%, 0%, 62.4%, 30.2%)
CIE-LABlab(70.67, -14.20, 54.89)
CIE-LCHlch(70.67, 56.70, 104.50°)
OKLaboklab(74.23% -0.0436 0.1249)
OKLCHoklch(74.23% 0.132 109.2)
XYZxyz(35.2947, 41.7120, 11.5011)
Luminance0.4171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B243 #4343B2
analogous
#B27A43 #B2B243 #7AB243
triadic
#B2B243 #43B2B2 #B243B2
tetradic
#B2B243 #43B27A #4343B2 #B2437A
square
#B2B243 #43B27A #4343B2 #B2437A
split-complementary
#B2B243 #437AB2 #7A43B2
monochromatic
#595922 #868632 #B2B243 #C7C76B #D8D897

Accessibility & contrast

On white

2.25
#B2B243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#B2B243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B243
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B243#FFFFFF#000000##000000
##B2B2431.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB35
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#BEA79B
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b243;
/* rgb */ color: rgb(178, 178, 67);
/* oklch */ color: oklch(74.2% 0.132 109.2);
Tailwind
colors: {
  custom: {
    50: '#ccc87c',
    500: '#b2b243',
    950: '#000000',
  },
}
SCSS
$custom: #b2b243;
$custom-light: #ccc87c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b243",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 60,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74227,
    "c": 0.13226,
    "h": 109.2
  },
  "luminance": 0.41711
}

Semantic roles & 50–950 ramp

primary
#B2B243
secondary
#8D8DC4
accent
#53D553
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B243

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

Preview Lab → · Contrast checker → · Palette generator →

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