#C2B038#C2B038

#C2B038 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.1% C 0.137 H 100.5°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#C2B038
RGBrgb(194, 176, 56)
HSLhsl(52, 55%, 49%)
HSVhsv(52, 71%, 76%)
CMYKcmyk(0%, 9.3%, 71.1%, 23.9%)
CIE-LABlab(71.42, -6.91, 60.57)
CIE-LCHlch(71.42, 60.96, 96.51°)
OKLaboklab(75.13% -0.0251 0.1346)
OKLCHoklch(75.13% 0.137 100.5)
XYZxyz(38.4890, 42.8073, 9.9759)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B038 #384AC2
analogous
#C26B38 #C2B038 #8FC238
triadic
#C2B038 #38C2B0 #B038C2
tetradic
#C2B038 #38C26B #384AC2 #C2388F
square
#C2B038 #38C26B #384AC2 #C2388F
split-complementary
#C2B038 #388FC2 #6B38C2
monochromatic
#635A1D #93852A #C2B038 #D2C465 #E0D694

Accessibility & contrast

On white

2.20
#C2B038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#C2B038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B038
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B038#FFFFFF#000000##000000
##C2B0381.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB25
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#D1A398
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #c2b038;
/* rgb */ color: rgb(194, 176, 56);
/* oklch */ color: oklch(75.1% 0.137 100.5);
Tailwind
colors: {
  custom: {
    50: '#d8c776',
    500: '#c2b038',
    950: '#000000',
  },
}
SCSS
$custom: #c2b038;
$custom-light: #d8c776;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b038",
  "rgb": {
    "r": 194,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 52.174,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75131,
    "c": 0.13688,
    "h": 100.5
  },
  "luminance": 0.42806
}

Semantic roles & 50–950 ramp

primary
#C2B038
secondary
#8A93CB
accent
#5DDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B038

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

Preview Lab → · Contrast checker → · Palette generator →

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