#B3A730#B3A730

#B3A730 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.135 H 103.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B3A730
RGBrgb(179, 167, 48)
HSLhsl(55, 58%, 45%)
HSVhsv(55, 73%, 70%)
CMYKcmyk(0%, 6.7%, 73.2%, 29.8%)
CIE-LABlab(67.60, -9.13, 59.39)
CIE-LCHlch(67.60, 60.09, 98.74°)
OKLaboklab(71.76% -0.0313 0.1312)
OKLCHoklch(71.76% 0.135 103.4)
XYZxyz(32.9441, 37.4359, 8.2863)
Luminance0.3744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3A730 #303CB3
analogous
#B36630 #B3A730 #7EB330
triadic
#B3A730 #30B3A7 #A730B3
tetradic
#B3A730 #30B366 #303CB3 #B3307E
square
#B3A730 #30B366 #303CB3 #B3307E
split-complementary
#B3A730 #307EB3 #6630B3
monochromatic
#524D16 #837A23 #B3A730 #D0C450 #DDD580

Accessibility & contrast

On white

2.47
#B3A730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B3A730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3A730
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3A730#FFFFFF#000000##000000
##B3A7301.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#BAA738
Tritanopia (blue-blind)
#C19B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b3a730;
/* rgb */ color: rgb(179, 167, 48);
/* oklch */ color: oklch(71.8% 0.135 103.4);
Tailwind
colors: {
  custom: {
    50: '#cdc071',
    500: '#b3a730',
    950: '#000000',
  },
}
SCSS
$custom: #b3a730;
$custom-light: #cdc071;
$custom-dark: #000000;
JSON
{
  "hex": "#b3a730",
  "rgb": {
    "r": 179,
    "g": 167,
    "b": 48
  },
  "hsl": {
    "h": 54.504,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71759,
    "c": 0.13485,
    "h": 103.4
  },
  "luminance": 0.37435
}

Semantic roles & 50–950 ramp

primary
#B3A730
secondary
#7980C6
accent
#55E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3A730

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

Preview Lab → · Contrast checker → · Palette generator →

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