#B7C124#B7C124

#B7C124 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.8% C 0.165 H 113.5°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#B7C124
RGBrgb(183, 193, 36)
HSLhsl(64, 69%, 45%)
HSVhsv(64, 81%, 76%)
CMYKcmyk(5.2%, 0%, 81.3%, 24.3%)
CIE-LABlab(75.04, -21.11, 70.00)
CIE-LCHlch(75.04, 73.12, 106.78°)
OKLaboklab(77.76% -0.0659 0.1515)
OKLCHoklch(77.76% 0.165 113.5)
XYZxyz(38.9181, 48.3354, 8.9483)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C124 #2E24C1
analogous
#C17D24 #B7C124 #68C124
triadic
#B7C124 #24B7C1 #C124B7
tetradic
#B7C124 #24C17D #2E24C1 #C12468
square
#B7C124 #24C17D #2E24C1 #C12468
split-complementary
#B7C124 #2468C1 #7D24C1
monochromatic
#555A11 #868D1A #B7C124 #D3DC46 #DFE679

Accessibility & contrast

On white

1.97
#B7C124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#B7C124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C124
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C124#FFFFFF#000000##000000
##B7C1241.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#D0BA34
Tritanopia (blue-blind)
#C4B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c124;
/* rgb */ color: rgb(183, 193, 36);
/* oklch */ color: oklch(77.8% 0.165 113.5);
Tailwind
colors: {
  custom: {
    50: '#d1d36f',
    500: '#b7c124',
    950: '#000000',
  },
}
SCSS
$custom: #b7c124;
$custom-light: #d1d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c124",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 36
  },
  "hsl": {
    "h": 63.822,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.77757,
    "c": 0.16519,
    "h": 113.5
  },
  "luminance": 0.48335
}

Semantic roles & 50–950 ramp

primary
#B7C124
secondary
#7973CE
accent
#3CEB48
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B7C124

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

Preview Lab → · Contrast checker → · Palette generator →

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