#B4C125#B4C125

#B4C125 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.5% C 0.166 H 114.7°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#B4C125
RGBrgb(180, 193, 37)
HSLhsl(65, 68%, 45%)
HSVhsv(65, 81%, 76%)
CMYKcmyk(6.7%, 0%, 80.8%, 24.3%)
CIE-LABlab(74.81, -22.35, 69.46)
CIE-LCHlch(74.81, 72.97, 107.84°)
OKLaboklab(77.52% -0.0691 0.1506)
OKLCHoklch(77.52% 0.166 114.7)
XYZxyz(38.2275, 47.9775, 8.9967)
Luminance0.4798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C125 #3225C1
analogous
#C18025 #B4C125 #66C125
triadic
#B4C125 #25B4C1 #C125B4
tetradic
#B4C125 #25C180 #3225C1 #C12566
square
#B4C125 #25C180 #3225C1 #C12566
split-complementary
#B4C125 #2566C1 #8025C1
monochromatic
#545A11 #848E1B #B4C125 #CFDC47 #DDE67B

Accessibility & contrast

On white

1.98
#B4C125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#B4C125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C125
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C125#FFFFFF#000000##000000
##B4C1251.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#CFB935
Tritanopia (blue-blind)
#C0B5A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b4c125;
/* rgb */ color: rgb(180, 193, 37);
/* oklch */ color: oklch(77.5% 0.166 114.7);
Tailwind
colors: {
  custom: {
    50: '#ced36f',
    500: '#b4c125',
    950: '#000000',
  },
}
SCSS
$custom: #b4c125;
$custom-light: #ced36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c125",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 37
  },
  "hsl": {
    "h": 65,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.77521,
    "c": 0.16569,
    "h": 114.7
  },
  "luminance": 0.47977
}

Semantic roles & 50–950 ramp

primary
#B4C125
secondary
#7C74CE
accent
#3DEB4C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4C125

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

Preview Lab → · Contrast checker → · Palette generator →

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