#B7C125#B7C125

#B7C125 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#B7C125
RGBrgb(183, 193, 37)
HSLhsl(64, 68%, 45%)
HSVhsv(64, 81%, 76%)
CMYKcmyk(5.2%, 0%, 80.8%, 24.3%)
CIE-LABlab(75.04, -21.08, 69.75)
CIE-LCHlch(75.04, 72.86, 106.82°)
OKLaboklab(77.76% -0.0658 0.1511)
OKLCHoklch(77.76% 0.165 113.5)
XYZxyz(38.9336, 48.3416, 9.0298)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C125 #2F25C1
analogous
#C17D25 #B7C125 #69C125
triadic
#B7C125 #25B7C1 #C125B7
tetradic
#B7C125 #25C17D #2F25C1 #C12569
square
#B7C125 #25C17D #2F25C1 #C12569
split-complementary
#B7C125 #2569C1 #7D25C1
monochromatic
#565A11 #868E1B #B7C125 #D2DC47 #DFE67B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7C125#FFFFFF#000000##000000
##B7C1251.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)
#D0BA35
Tritanopia (blue-blind)
#C4B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b7c125;
/* rgb */ color: rgb(183, 193, 37);
/* oklch */ color: oklch(77.8% 0.165 113.5);
Tailwind
colors: {
  custom: {
    50: '#d1d36f',
    500: '#b7c125',
    950: '#000000',
  },
}
SCSS
$custom: #b7c125;
$custom-light: #d1d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c125",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 37
  },
  "hsl": {
    "h": 63.846,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.77762,
    "c": 0.16478,
    "h": 113.5
  },
  "luminance": 0.48341
}

Semantic roles & 50–950 ramp

primary
#B7C125
secondary
#7A74CE
accent
#3DEB48
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #B7C125

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

Preview Lab → · Contrast checker → · Palette generator →

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