#B7CB3A#B7CB3A

#B7CB3A is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.1% C 0.165 H 117.2°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#B7CB3A
RGBrgb(183, 203, 58)
HSLhsl(68, 58%, 51%)
HSVhsv(68, 71%, 80%)
CMYKcmyk(9.9%, 0%, 71.4%, 20.4%)
CIE-LABlab(77.93, -25.08, 65.91)
CIE-LCHlch(77.93, 70.51, 110.83°)
OKLaboklab(80.11% -0.0752 0.1465)
OKLCHoklch(80.11% 0.165 117.2)
XYZxyz(41.6491, 53.0851, 12.0546)
Luminance0.5309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CB3A #4E3ACB
analogous
#CB963A #B7CB3A #6ECB3A
triadic
#B7CB3A #3AB7CB #CB3AB7
tetradic
#B7CB3A #3ACB96 #4E3ACB #CB3A6E
square
#B7CB3A #3ACB96 #4E3ACB #CB3A6E
split-complementary
#B7CB3A #3A6ECB #963ACB
monochromatic
#636E1D #8E9E2A #B7CB3A #C9D86A #DAE59B

Accessibility & contrast

On white

1.81
#B7CB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#B7CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CB3A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CB3A#FFFFFF#000000##000000
##B7CB3A1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C01F
Deuteranopia (green-blind)
#D7C146
Tritanopia (blue-blind)
#C2C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #b7cb3a;
/* rgb */ color: rgb(183, 203, 58);
/* oklch */ color: oklch(80.1% 0.165 117.2);
Tailwind
colors: {
  custom: {
    50: '#d0da7a',
    500: '#b7cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #b7cb3a;
$custom-light: #d0da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7cb3a",
  "rgb": {
    "r": 183,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 68.276,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80111,
    "c": 0.16468,
    "h": 117.2
  },
  "luminance": 0.53085
}

Semantic roles & 50–950 ramp

primary
#B7CB3A
secondary
#3C3277
accent
#46E15C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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