#B2B62F#B2B62F

#B2B62F is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.150 H 111.2°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B2B62F
RGBrgb(178, 182, 47)
HSLhsl(62, 59%, 45%)
HSVhsv(62, 74%, 71%)
CMYKcmyk(2.2%, 0%, 74.2%, 28.6%)
CIE-LABlab(71.64, -17.34, 63.54)
CIE-LCHlch(71.64, 65.86, 105.26°)
OKLaboklab(74.96% -0.0544 0.1398)
OKLCHoklch(74.96% 0.15 111.2)
XYZxyz(35.6024, 43.1270, 9.1377)
Luminance0.4313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B62F #332FB6
analogous
#B6772F #B2B62F #6EB62F
triadic
#B2B62F #2FB2B6 #B62FB2
tetradic
#B2B62F #2FB677 #332FB6 #B62F6E
square
#B2B62F #2FB677 #332FB6 #B62F6E
split-complementary
#B2B62F #2F6EB6 #772FB6
monochromatic
#535516 #828522 #B2B62F #CED250 #DCDE81

Accessibility & contrast

On white

2.18
#B2B62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#B2B62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B62F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B62F#FFFFFF#000000##000000
##B2B62F1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE11
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#BFAB9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b62f;
/* rgb */ color: rgb(178, 182, 47);
/* oklch */ color: oklch(75.0% 0.150 111.2);
Tailwind
colors: {
  custom: {
    50: '#cdcb72',
    500: '#b2b62f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b62f;
$custom-light: #cdcb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b62f",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 61.778,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74958,
    "c": 0.15001,
    "h": 111.2
  },
  "luminance": 0.43126
}

Semantic roles & 50–950 ramp

primary
#B2B62F
secondary
#7C79C7
accent
#46E24A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B62F

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

Preview Lab → · Contrast checker → · Palette generator →

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