#B2B038#B2B038

#B2B038 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.7% C 0.138 H 108.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#B2B038
RGBrgb(178, 176, 56)
HSLhsl(59, 52%, 46%)
HSVhsv(59, 69%, 70%)
CMYKcmyk(0%, 1.1%, 68.5%, 30.2%)
CIE-LABlab(70.04, -13.84, 58.73)
CIE-LCHlch(70.04, 60.34, 103.26°)
OKLaboklab(73.69% -0.0437 0.1312)
OKLCHoklch(73.69% 0.138 108.4)
XYZxyz(34.6005, 40.8022, 9.7936)
Luminance0.4080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B038 #383AB2
analogous
#B27338 #B2B038 #77B238
triadic
#B2B038 #38B2B0 #B038B2
tetradic
#B2B038 #38B273 #383AB2 #B23877
square
#B2B038 #38B273 #383AB2 #B23877
split-complementary
#B2B038 #3877B2 #7338B2
monochromatic
#55541B #838229 #B2B038 #CCCA5C #DAD98A

Accessibility & contrast

On white

2.29
#B2B038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#B2B038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B038
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B038#FFFFFF#000000##000000
##B2B0381.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA926
Deuteranopia (green-blind)
#C0AD40
Tritanopia (blue-blind)
#BFA598
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b038;
/* rgb */ color: rgb(178, 176, 56);
/* oklch */ color: oklch(73.7% 0.138 108.4);
Tailwind
colors: {
  custom: {
    50: '#ccc776',
    500: '#b2b038',
    950: '#000000',
  },
}
SCSS
$custom: #b2b038;
$custom-light: #ccc776;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b038",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 59.016,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73694,
    "c": 0.13831,
    "h": 108.4
  },
  "luminance": 0.40801
}

Semantic roles & 50–950 ramp

primary
#B2B038
secondary
#8182C5
accent
#4FDC4C
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B038

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

Preview Lab → · Contrast checker → · Palette generator →

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