#C2B238#C2B238

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

Color values

HEX#C2B238
RGBrgb(194, 178, 56)
HSLhsl(53, 55%, 49%)
HSVhsv(53, 71%, 76%)
CMYKcmyk(0%, 8.2%, 71.1%, 23.9%)
CIE-LABlab(71.96, -7.95, 61.09)
CIE-LCHlch(71.96, 61.61, 97.42°)
OKLaboklab(75.56% -0.028 0.1357)
OKLCHoklch(75.56% 0.139 101.7)
XYZxyz(38.8841, 43.5974, 10.1076)
Luminance0.4360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B238 #3848C2
analogous
#C26D38 #C2B238 #8DC238
triadic
#C2B238 #38C2B2 #B238C2
tetradic
#C2B238 #38C26D #3848C2 #C2388D
square
#C2B238 #38C26D #3848C2 #C2388D
split-complementary
#C2B238 #388DC2 #6D38C2
monochromatic
#635B1D #93862A #C2B238 #D2C665 #E0D794

Accessibility & contrast

On white

2.16
#C2B238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#C2B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B238
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B238#FFFFFF#000000##000000
##C2B2381.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD25
Deuteranopia (green-blind)
#C7B340
Tritanopia (blue-blind)
#D1A59A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c2b238;
/* rgb */ color: rgb(194, 178, 56);
/* oklch */ color: oklch(75.6% 0.139 101.7);
Tailwind
colors: {
  custom: {
    50: '#d8c876',
    500: '#c2b238',
    950: '#000000',
  },
}
SCSS
$custom: #c2b238;
$custom-light: #d8c876;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b238",
  "rgb": {
    "r": 194,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 53.043,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75555,
    "c": 0.13855,
    "h": 101.7
  },
  "luminance": 0.43596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C2B238

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

Preview Lab → · Contrast checker → · Palette generator →

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