#B7CA38#B7CA38

#B7CA38 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.165 H 116.8°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#B7CA38
RGBrgb(183, 202, 56)
HSLhsl(68, 58%, 51%)
HSVhsv(68, 72%, 79%)
CMYKcmyk(9.4%, 0%, 72.3%, 20.8%)
CIE-LABlab(77.63, -24.69, 66.32)
CIE-LCHlch(77.63, 70.77, 110.42°)
OKLaboklab(79.87% -0.0743 0.1471)
OKLCHoklch(79.87% 0.165 116.8)
XYZxyz(41.3638, 52.5944, 11.7133)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CA38 #4B38CA
analogous
#CA9438 #B7CA38 #6ECA38
triadic
#B7CA38 #38B7CA #CA38B7
tetradic
#B7CA38 #38CA94 #4B38CA #CA386E
square
#B7CA38 #38CA94 #4B38CA #CA386E
split-complementary
#B7CA38 #386ECA #9438CA
monochromatic
#616B1D #8D9B29 #B7CA38 #C8D768 #DAE499

Accessibility & contrast

On white

1.82
#B7CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#B7CA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CA38
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CA38#FFFFFF#000000##000000
##B7CA381.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1C
Deuteranopia (green-blind)
#D6C144
Tritanopia (blue-blind)
#C2BFAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b7ca38;
/* rgb */ color: rgb(183, 202, 56);
/* oklch */ color: oklch(79.9% 0.165 116.8);
Tailwind
colors: {
  custom: {
    50: '#d0da79',
    500: '#b7ca38',
    950: '#000000',
  },
}
SCSS
$custom: #b7ca38;
$custom-light: #d0da79;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ca38",
  "rgb": {
    "r": 183,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 67.808,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79874,
    "c": 0.16476,
    "h": 116.8
  },
  "luminance": 0.52594
}

Semantic roles & 50–950 ramp

primary
#B7CA38
secondary
#3A3175
accent
#47E15B
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B7CA38

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

Preview Lab → · Contrast checker → · Palette generator →

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