#B3B227#B3B227

#B3B227 is a light, vivid yellow. Relative luminance 0.416; OKLCH L 74.1% C 0.150 H 109.1°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#B3B227
RGBrgb(179, 178, 39)
HSLhsl(60, 64%, 43%)
HSVhsv(60, 78%, 70%)
CMYKcmyk(0%, 0.6%, 78.2%, 29.8%)
CIE-LABlab(70.57, -15.20, 65.13)
CIE-LCHlch(70.57, 66.88, 103.14°)
OKLaboklab(74.11% -0.0491 0.1417)
OKLCHoklch(74.11% 0.15 109.1)
XYZxyz(34.8784, 41.5721, 8.1060)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3B227 #2728B3
analogous
#B36C27 #B3B227 #6EB327
triadic
#B3B227 #27B3B2 #B227B3
tetradic
#B3B227 #27B36C #2728B3 #B3276E
square
#B3B227 #27B36C #2728B3 #B3276E
split-complementary
#B3B227 #276EB3 #6C27B3
monochromatic
#4E4E11 #81801C #B3B227 #D6D541 #E1E074

Accessibility & contrast

On white

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

On black

9.31
#B3B227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3B227
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3B227#FFFFFF#000000##000000
##B3B2271.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C3AF33
Tritanopia (blue-blind)
#C0A698
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b3b227;
/* rgb */ color: rgb(179, 178, 39);
/* oklch */ color: oklch(74.1% 0.150 109.1);
Tailwind
colors: {
  custom: {
    50: '#cec86e',
    500: '#b3b227',
    950: '#000000',
  },
}
SCSS
$custom: #b3b227;
$custom-light: #cec86e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3b227",
  "rgb": {
    "r": 179,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 59.571,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.74113,
    "c": 0.14997,
    "h": 109.1
  },
  "luminance": 0.41571
}

Semantic roles & 50–950 ramp

primary
#B3B227
secondary
#6E6FC8
accent
#42E741
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3B227

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

Preview Lab → · Contrast checker → · Palette generator →

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