#C1B438#C1B438

#C1B438 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.9% C 0.140 H 103.2°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#C1B438
RGBrgb(193, 180, 56)
HSLhsl(54, 55%, 49%)
HSVhsv(54, 71%, 76%)
CMYKcmyk(0%, 6.7%, 71%, 24.3%)
CIE-LABlab(72.41, -9.43, 61.51)
CIE-LCHlch(72.41, 62.22, 98.71°)
OKLaboklab(75.89% -0.0321 0.1366)
OKLCHoklch(75.89% 0.14 103.2)
XYZxyz(39.0291, 44.2671, 10.2292)
Luminance0.4426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B438 #3845C1
analogous
#C17038 #C1B438 #8AC138
triadic
#C1B438 #38C1B4 #B438C1
tetradic
#C1B438 #38C170 #3845C1 #C1388A
square
#C1B438 #38C170 #3845C1 #C1388A
split-complementary
#C1B438 #388AC1 #7038C1
monochromatic
#625C1C #92882A #C1B438 #D2C864 #E0D994

Accessibility & contrast

On white

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

On black

9.85
#C1B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B438
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B438#FFFFFF#000000##000000
##C1B4381.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c1b438;
/* rgb */ color: rgb(193, 180, 56);
/* oklch */ color: oklch(75.9% 0.140 103.2);
Tailwind
colors: {
  custom: {
    50: '#d7ca77',
    500: '#c1b438',
    950: '#000000',
  },
}
SCSS
$custom: #c1b438;
$custom-light: #d7ca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b438",
  "rgb": {
    "r": 193,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 54.307,
    "s": 55.02,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7589,
    "c": 0.14032,
    "h": 103.2
  },
  "luminance": 0.44265
}

Semantic roles & 50–950 ramp

primary
#C1B438
secondary
#8A90CB
accent
#58DE49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C1B438

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

Preview Lab → · Contrast checker → · Palette generator →

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