#C3BA38#C3BA38

#C3BA38 is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.4% C 0.146 H 105.3°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#C3BA38
RGBrgb(195, 186, 56)
HSLhsl(56, 55%, 49%)
HSVhsv(56, 71%, 76%)
CMYKcmyk(0%, 4.6%, 71.3%, 23.5%)
CIE-LABlab(74.19, -11.65, 63.31)
CIE-LCHlch(74.19, 64.38, 100.43°)
OKLaboklab(77.35% -0.0385 0.1403)
OKLCHoklch(77.35% 0.146 105.3)
XYZxyz(40.7800, 47.0070, 10.6658)
Luminance0.4701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3BA38 #3841C3
analogous
#C37538 #C3BA38 #87C338
triadic
#C3BA38 #38C3BA #BA38C3
tetradic
#C3BA38 #38C375 #3841C3 #C33887
square
#C3BA38 #38C375 #3841C3 #C33887
split-complementary
#C3BA38 #3887C3 #7538C3
monochromatic
#645F1D #938D2A #C3BA38 #D3CC65 #E1DC95

Accessibility & contrast

On white

2.02
#C3BA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#C3BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3BA38
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3BA38#FFFFFF#000000##000000
##C3BA381.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#CEB941
Tritanopia (blue-blind)
#D1ADA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c3ba38;
/* rgb */ color: rgb(195, 186, 56);
/* oklch */ color: oklch(77.4% 0.146 105.3);
Tailwind
colors: {
  custom: {
    50: '#d9ce77',
    500: '#c3ba38',
    950: '#000000',
  },
}
SCSS
$custom: #c3ba38;
$custom-light: #d9ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#c3ba38",
  "rgb": {
    "r": 195,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 56.115,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77354,
    "c": 0.14553,
    "h": 105.3
  },
  "luminance": 0.47005
}

Semantic roles & 50–950 ramp

primary
#C3BA38
secondary
#8B8FCC
accent
#53DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C3BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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