#B7CE38#B7CE38

#B7CE38 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 80.8% C 0.169 H 118.1°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#B7CE38
RGBrgb(183, 206, 56)
HSLhsl(69, 60%, 51%)
HSVhsv(69, 73%, 81%)
CMYKcmyk(11.2%, 0%, 72.8%, 19.2%)
CIE-LABlab(78.75, -26.62, 67.39)
CIE-LCHlch(78.75, 72.46, 111.55°)
OKLaboklab(80.77% -0.0796 0.1493)
OKLCHoklch(80.77% 0.169 118.1)
XYZxyz(42.3145, 54.4958, 12.0302)
Luminance0.5450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7CE38 #4F38CE
analogous
#CE9A38 #B7CE38 #6CCE38
triadic
#B7CE38 #38B7CE #CE38B7
tetradic
#B7CE38 #38CE9A #4F38CE #CE386C
square
#B7CE38 #38CE9A #4F38CE #CE386C
split-complementary
#B7CE38 #386CCE #9A38CE
monochromatic
#63701C #8FA128 #B7CE38 #C9DA69 #DBE69A

Accessibility & contrast

On white

1.76
#B7CE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#B7CE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7CE38
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7CE38#FFFFFF#000000##000000
##B7CE381.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC31A
Deuteranopia (green-blind)
#D9C445
Tritanopia (blue-blind)
#C2C3B1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #b7ce38;
/* rgb */ color: rgb(183, 206, 56);
/* oklch */ color: oklch(80.8% 0.169 118.1);
Tailwind
colors: {
  custom: {
    50: '#d0dc79',
    500: '#b7ce38',
    950: '#000000',
  },
}
SCSS
$custom: #b7ce38;
$custom-light: #d0dc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ce38",
  "rgb": {
    "r": 183,
    "g": 206,
    "b": 56
  },
  "hsl": {
    "h": 69.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.8077,
    "c": 0.16922,
    "h": 118.1
  },
  "luminance": 0.54495
}

Semantic roles & 50–950 ramp

primary
#B7CE38
secondary
#3C3179
accent
#44E45D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #B7CE38

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

Preview Lab → · Contrast checker → · Palette generator →

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