#B2A92B#B2A92B

#B2A92B is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.140 H 105.2°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B2A92B
RGBrgb(178, 169, 43)
HSLhsl(56, 61%, 43%)
HSVhsv(56, 76%, 70%)
CMYKcmyk(0%, 5.1%, 75.8%, 30.2%)
CIE-LABlab(68.03, -10.84, 61.52)
CIE-LCHlch(68.03, 62.47, 99.99°)
OKLaboklab(72.07% -0.0366 0.1348)
OKLCHoklch(72.07% 0.14 105.2)
XYZxyz(32.9855, 38.0166, 7.8855)
Luminance0.3801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A92B #2B34B2
analogous
#B2652B #B2A92B #77B22B
triadic
#B2A92B #2BB2A9 #A92BB2
tetradic
#B2A92B #2BB265 #2B34B2 #B22B77
square
#B2A92B #2BB265 #2B34B2 #B22B77
split-complementary
#B2A92B #2B77B2 #652BB2
monochromatic
#4F4B13 #817A1F #B2A92B #D3C948 #DFD879

Accessibility & contrast

On white

2.44
#B2A92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B2A92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A92B
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A92B#FFFFFF#000000##000000
##B2A92B1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30F
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#C09D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a92b;
/* rgb */ color: rgb(178, 169, 43);
/* oklch */ color: oklch(72.1% 0.140 105.2);
Tailwind
colors: {
  custom: {
    50: '#cdc26f',
    500: '#b2a92b',
    950: '#000000',
  },
}
SCSS
$custom: #b2a92b;
$custom-light: #cdc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a92b",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 56,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72071,
    "c": 0.13964,
    "h": 105.2
  },
  "luminance": 0.38015
}

Semantic roles & 50–950 ramp

primary
#B2A92B
secondary
#7278C7
accent
#4EE444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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