#C7BB38#C7BB38

#C7BB38 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 77.9% C 0.146 H 104.0°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#C7BB38
RGBrgb(199, 187, 56)
HSLhsl(55, 56%, 50%)
HSVhsv(55, 72%, 78%)
CMYKcmyk(0%, 6%, 71.9%, 22%)
CIE-LABlab(74.81, -10.45, 64.02)
CIE-LCHlch(74.81, 64.87, 99.27°)
OKLaboklab(77.92% -0.0353 0.1417)
OKLCHoklch(77.92% 0.146 104)
XYZxyz(42.0391, 47.9700, 10.7853)
Luminance0.4797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BB38 #3844C7
analogous
#C77438 #C7BB38 #8BC738
triadic
#C7BB38 #38C7BB #BB38C7
tetradic
#C7BB38 #38C774 #3844C7 #C7388B
square
#C7BB38 #38C774 #3844C7 #C7388B
split-complementary
#C7BB38 #388BC7 #7438C7
monochromatic
#67611D #978E2B #C7BB38 #D4CB68 #E2DC98

Accessibility & contrast

On white

1.98
#C7BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#C7BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BB38
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BB38#FFFFFF#000000##000000
##C7BB381.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB521
Deuteranopia (green-blind)
#D0BB41
Tritanopia (blue-blind)
#D6AEA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c7bb38;
/* rgb */ color: rgb(199, 187, 56);
/* oklch */ color: oklch(77.9% 0.146 104.0);
Tailwind
colors: {
  custom: {
    50: '#dccf77',
    500: '#c7bb38',
    950: '#000000',
  },
}
SCSS
$custom: #c7bb38;
$custom-light: #dccf77;
$custom-dark: #000000;
JSON
{
  "hex": "#c7bb38",
  "rgb": {
    "r": 199,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 54.965,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.77923,
    "c": 0.14604,
    "h": 104
  },
  "luminance": 0.47968
}

Semantic roles & 50–950 ramp

primary
#C7BB38
secondary
#8D93CD
accent
#55DF48
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#151309
muted
#84827B

Preview Lab

Preview with #C7BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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