#B2B03E#B2B03E

#B2B03E is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.134 H 108.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B2B03E
RGBrgb(178, 176, 62)
HSLhsl(59, 48%, 47%)
HSVhsv(59, 65%, 70%)
CMYKcmyk(0%, 1.1%, 65.2%, 30.2%)
CIE-LABlab(70.08, -13.49, 56.37)
CIE-LCHlch(70.08, 57.96, 103.46°)
OKLaboklab(73.74% -0.0421 0.1272)
OKLCHoklch(73.74% 0.134 108.3)
XYZxyz(34.7561, 40.8645, 10.6133)
Luminance0.4086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B03E #3E40B2
analogous
#B2763E #B2B03E #7AB23E
triadic
#B2B03E #3EB2B0 #B03EB2
tetradic
#B2B03E #3EB276 #3E40B2 #B23E7A
square
#B2B03E #3EB276 #3E40B2 #B23E7A
split-complementary
#B2B03E #3E7AB2 #763EB2
monochromatic
#57561E #85832E #B2B03E #C9C764 #D9D892

Accessibility & contrast

On white

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

On black

9.17
#B2B03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B03E
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B03E#FFFFFF#000000##000000
##B2B03E1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C0AD45
Tritanopia (blue-blind)
#BEA599
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b2b03e;
/* rgb */ color: rgb(178, 176, 62);
/* oklch */ color: oklch(73.7% 0.134 108.3);
Tailwind
colors: {
  custom: {
    50: '#ccc779',
    500: '#b2b03e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b03e;
$custom-light: #ccc779;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b03e",
  "rgb": {
    "r": 178,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 58.966,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73743,
    "c": 0.13402,
    "h": 108.3
  },
  "luminance": 0.40863
}

Semantic roles & 50–950 ramp

primary
#B2B03E
secondary
#8889C4
accent
#52D850
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141309
muted
#82827B

Preview Lab

Preview with #B2B03E

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

Preview Lab → · Contrast checker → · Palette generator →

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