#C2B838#C2B838

#C2B838 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.8% C 0.144 H 104.8°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#C2B838
RGBrgb(194, 184, 56)
HSLhsl(56, 55%, 49%)
HSVhsv(56, 71%, 76%)
CMYKcmyk(0%, 5.2%, 71.1%, 23.9%)
CIE-LABlab(73.57, -11.06, 62.67)
CIE-LCHlch(73.57, 63.64, 100.01°)
OKLaboklab(76.84% -0.0368 0.139)
OKLCHoklch(76.84% 0.144 104.8)
XYZxyz(40.1041, 46.0374, 10.5142)
Luminance0.4604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B838 #3842C2
analogous
#C27338 #C2B838 #87C238
triadic
#C2B838 #38C2B8 #B838C2
tetradic
#C2B838 #38C273 #3842C2 #C23887
square
#C2B838 #38C273 #3842C2 #C23887
split-complementary
#C2B838 #3887C2 #7338C2
monochromatic
#635E1D #938B2A #C2B838 #D2CB65 #E0DB94

Accessibility & contrast

On white

2.06
#C2B838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#C2B838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B838
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B838#FFFFFF#000000##000000
##C2B8381.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B223
Deuteranopia (green-blind)
#CCB741
Tritanopia (blue-blind)
#D0AB9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c2b838;
/* rgb */ color: rgb(194, 184, 56);
/* oklch */ color: oklch(76.8% 0.144 104.8);
Tailwind
colors: {
  custom: {
    50: '#d8cd77',
    500: '#c2b838',
    950: '#000000',
  },
}
SCSS
$custom: #c2b838;
$custom-light: #d8cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b838",
  "rgb": {
    "r": 194,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 55.652,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76836,
    "c": 0.14381,
    "h": 104.8
  },
  "luminance": 0.46036
}

Semantic roles & 50–950 ramp

primary
#C2B838
secondary
#8A8FCB
accent
#54DF49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B838

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

Preview Lab → · Contrast checker → · Palette generator →

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