#B0B427#B0B427

#B0B427 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.3% C 0.153 H 111.3°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#B0B427
RGBrgb(176, 180, 39)
HSLhsl(62, 64%, 43%)
HSVhsv(62, 78%, 71%)
CMYKcmyk(2.2%, 0%, 78.3%, 29.4%)
CIE-LABlab(70.88, -17.51, 65.32)
CIE-LCHlch(70.88, 67.62, 105.01°)
OKLaboklab(74.3% -0.0554 0.1422)
OKLCHoklch(74.3% 0.153 111.3)
XYZxyz(34.5932, 42.0200, 8.2075)
Luminance0.4202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B427 #2B27B4
analogous
#B47127 #B0B427 #69B427
triadic
#B0B427 #27B0B4 #B427B0
tetradic
#B0B427 #27B471 #2B27B4 #B42769
square
#B0B427 #27B471 #2B27B4 #B42769
split-complementary
#B0B427 #2769B4 #7127B4
monochromatic
#4E4F11 #7F821C #B0B427 #D2D642 #DEE174

Accessibility & contrast

On white

2.23
#B0B427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#B0B427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B427
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B427#FFFFFF#000000##000000
##B0B4271.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#BDA89A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b0b427;
/* rgb */ color: rgb(176, 180, 39);
/* oklch */ color: oklch(74.3% 0.153 111.3);
Tailwind
colors: {
  custom: {
    50: '#cbca6e',
    500: '#b0b427',
    950: '#000000',
  },
}
SCSS
$custom: #b0b427;
$custom-light: #cbca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b427",
  "rgb": {
    "r": 176,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 61.702,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74301,
    "c": 0.15263,
    "h": 111.3
  },
  "luminance": 0.42019
}

Semantic roles & 50–950 ramp

primary
#B0B427
secondary
#716FC8
accent
#40E745
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B0B427

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

Preview Lab → · Contrast checker → · Palette generator →

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