#C2BB38#C2BB38

#C2BB38 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.5% C 0.147 H 106.3°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#C2BB38
RGBrgb(194, 187, 56)
HSLhsl(57, 55%, 49%)
HSVhsv(57, 71%, 76%)
CMYKcmyk(0%, 3.6%, 71.1%, 23.9%)
CIE-LABlab(74.38, -12.59, 63.46)
CIE-LCHlch(74.38, 64.70, 101.22°)
OKLaboklab(77.48% -0.0411 0.1407)
OKLCHoklch(77.48% 0.147 106.3)
XYZxyz(40.7339, 47.2970, 10.7242)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2BB38 #383FC2
analogous
#C27638 #C2BB38 #84C238
triadic
#C2BB38 #38C2BB #BB38C2
tetradic
#C2BB38 #38C276 #383FC2 #C23884
square
#C2BB38 #38C276 #383FC2 #C23884
split-complementary
#C2BB38 #3884C2 #7638C2
monochromatic
#635F1D #938D2A #C2BB38 #D2CD65 #E0DC94

Accessibility & contrast

On white

2.01
#C2BB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#C2BB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2BB38
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2BB38#FFFFFF#000000##000000
##C2BB381.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB421
Deuteranopia (green-blind)
#CEB941
Tritanopia (blue-blind)
#D0AFA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c2bb38;
/* rgb */ color: rgb(194, 187, 56);
/* oklch */ color: oklch(77.5% 0.147 106.3);
Tailwind
colors: {
  custom: {
    50: '#d8cf77',
    500: '#c2bb38',
    950: '#000000',
  },
}
SCSS
$custom: #c2bb38;
$custom-light: #d8cf77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2bb38",
  "rgb": {
    "r": 194,
    "g": 187,
    "b": 56
  },
  "hsl": {
    "h": 56.957,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77481,
    "c": 0.14657,
    "h": 106.3
  },
  "luminance": 0.47296
}

Semantic roles & 50–950 ramp

primary
#C2BB38
secondary
#8A8ECB
accent
#51DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2BB38

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

Preview Lab → · Contrast checker → · Palette generator →

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