#C2B438#C2B438

#C2B438 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.0% C 0.140 H 102.8°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#C2B438
RGBrgb(194, 180, 56)
HSLhsl(54, 55%, 49%)
HSVhsv(54, 71%, 76%)
CMYKcmyk(0%, 7.2%, 71.1%, 23.9%)
CIE-LABlab(72.49, -8.99, 61.62)
CIE-LCHlch(72.49, 62.27, 98.30°)
OKLaboklab(75.98% -0.031 0.1368)
OKLCHoklch(75.98% 0.14 102.8)
XYZxyz(39.2849, 44.3990, 10.2412)
Luminance0.4440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2B438 #3846C2
analogous
#C26F38 #C2B438 #8BC238
triadic
#C2B438 #38C2B4 #B438C2
tetradic
#C2B438 #38C26F #3846C2 #C2388B
square
#C2B438 #38C26F #3846C2 #C2388B
split-complementary
#C2B438 #388BC2 #6F38C2
monochromatic
#635C1D #93882A #C2B438 #D2C765 #E0D894

Accessibility & contrast

On white

2.13
#C2B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#C2B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2B438
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2B438#FFFFFF#000000##000000
##C2B4381.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE24
Deuteranopia (green-blind)
#C9B540
Tritanopia (blue-blind)
#D1A79C
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #c2b438;
/* rgb */ color: rgb(194, 180, 56);
/* oklch */ color: oklch(76.0% 0.140 102.8);
Tailwind
colors: {
  custom: {
    50: '#d8ca77',
    500: '#c2b438',
    950: '#000000',
  },
}
SCSS
$custom: #c2b438;
$custom-light: #d8ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c2b438",
  "rgb": {
    "r": 194,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 53.913,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75981,
    "c": 0.14026,
    "h": 102.8
  },
  "luminance": 0.44397
}

Semantic roles & 50–950 ramp

primary
#C2B438
secondary
#8A91CB
accent
#58DF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C2B438

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

Preview Lab → · Contrast checker → · Palette generator →

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