#C2BD38#C2BD38

#C2BD38 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.9% C 0.148 H 107.2°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#C2BD38
RGBrgb(194, 189, 56)
HSLhsl(58, 55%, 49%)
HSVhsv(58, 71%, 76%)
CMYKcmyk(0%, 2.6%, 71.1%, 23.9%)
CIE-LABlab(74.92, -13.61, 63.99)
CIE-LCHlch(74.92, 65.42, 102.01°)
OKLaboklab(77.91% -0.044 0.1418)
OKLCHoklch(77.91% 0.148 107.2)
XYZxyz(41.1611, 48.1515, 10.8666)
Luminance0.4815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BD38 #383DC2
analogous
#C27838 #C2BD38 #82C238
triadic
#C2BD38 #38C2BD #BD38C2
tetradic
#C2BD38 #38C278 #383DC2 #C23882
square
#C2BD38 #38C278 #383DC2 #C23882
split-complementary
#C2BD38 #3882C2 #7838C2
monochromatic
#63601D #938F2A #C2BD38 #D2CE65 #E0DD94

Accessibility & contrast

On white

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

On black

10.63
#C2BD38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BD38
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BD38#FFFFFF#000000##000000
##C2BD381.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB621
Deuteranopia (green-blind)
#CFBB42
Tritanopia (blue-blind)
#D0B1A3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c2bd38;
/* rgb */ color: rgb(194, 189, 56);
/* oklch */ color: oklch(77.9% 0.148 107.2);
Tailwind
colors: {
  custom: {
    50: '#d8d077',
    500: '#c2bd38',
    950: '#000000',
  },
}
SCSS
$custom: #c2bd38;
$custom-light: #d8d077;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bd38",
  "rgb": {
    "r": 194,
    "g": 189,
    "b": 56
  },
  "hsl": {
    "h": 57.826,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77912,
    "c": 0.14846,
    "h": 107.2
  },
  "luminance": 0.4815
}

Semantic roles & 50–950 ramp

primary
#C2BD38
secondary
#8A8DCB
accent
#4FDF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BD38

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

Preview Lab → · Contrast checker → · Palette generator →

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