#C3B238#C3B238

#C3B238 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.6% C 0.139 H 101.2°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#C3B238
RGBrgb(195, 178, 56)
HSLhsl(53, 55%, 49%)
HSVhsv(53, 71%, 76%)
CMYKcmyk(0%, 8.7%, 71.3%, 23.5%)
CIE-LABlab(72.05, -7.52, 61.21)
CIE-LCHlch(72.05, 61.67, 97.01°)
OKLaboklab(75.65% -0.0268 0.1359)
OKLCHoklch(75.65% 0.139 101.2)
XYZxyz(39.1416, 43.7302, 10.1196)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C3B238 #3849C3
analogous
#C36D38 #C3B238 #8FC338
triadic
#C3B238 #38C3B2 #B238C3
tetradic
#C3B238 #38C36D #3849C3 #C3388F
square
#C3B238 #38C36D #3849C3 #C3388F
split-complementary
#C3B238 #388FC3 #6D38C3
monochromatic
#645B1D #93872A #C3B238 #D3C565 #E1D795

Accessibility & contrast

On white

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

On black

9.75
#C3B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C3B238
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C3B238#FFFFFF#000000##000000
##C3B2381.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD24
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#D2A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c3b238;
/* rgb */ color: rgb(195, 178, 56);
/* oklch */ color: oklch(75.6% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#d9c876',
    500: '#c3b238',
    950: '#000000',
  },
}
SCSS
$custom: #c3b238;
$custom-light: #d9c876;
$custom-dark: #000000;
JSON
{
  "hex": "#c3b238",
  "rgb": {
    "r": 195,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 52.662,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75647,
    "c": 0.13853,
    "h": 101.2
  },
  "luminance": 0.43728
}

Semantic roles & 50–950 ramp

primary
#C3B238
secondary
#8B93CC
accent
#5BDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C3B238

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

Preview Lab → · Contrast checker → · Palette generator →

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