#C3B242#C3B242

#C3B242 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.7% C 0.132 H 100.6°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#C3B242
RGBrgb(195, 178, 66)
HSLhsl(52, 52%, 51%)
HSVhsv(52, 66%, 76%)
CMYKcmyk(0%, 8.7%, 66.2%, 23.5%)
CIE-LABlab(72.12, -6.98, 57.29)
CIE-LCHlch(72.12, 57.71, 96.95°)
OKLaboklab(75.73% -0.0242 0.1293)
OKLCHoklch(75.73% 0.132 100.6)
XYZxyz(39.4111, 43.8380, 11.5388)
Luminance0.4384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B242 #4253C3
analogous
#C37142 #C3B242 #93C342
triadic
#C3B242 #42C3B2 #B242C3
tetradic
#C3B242 #42C371 #4253C3 #C34293
square
#C3B242 #42C371 #4253C3 #C34293
split-complementary
#C3B242 #4293C3 #7142C3
monochromatic
#696021 #988A30 #C3B242 #D2C570 #E0D89F

Accessibility & contrast

On white

2.15
#C3B242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#C3B242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B242
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B242#FFFFFF#000000##000000
##C3B2421.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD34
Deuteranopia (green-blind)
#C7B448
Tritanopia (blue-blind)
#D2A69B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c3b242;
/* rgb */ color: rgb(195, 178, 66);
/* oklch */ color: oklch(75.7% 0.132 100.6);
Tailwind
colors: {
  custom: {
    50: '#d8c87c',
    500: '#c3b242',
    950: '#000000',
  },
}
SCSS
$custom: #c3b242;
$custom-light: #d8c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b242",
  "rgb": {
    "r": 195,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 52.093,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75728,
    "c": 0.13157,
    "h": 100.6
  },
  "luminance": 0.43836
}

Semantic roles & 50–950 ramp

primary
#C3B242
secondary
#949BCD
accent
#5FDB4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C3B242

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

Preview Lab → · Contrast checker → · Palette generator →

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