#C1B230#C1B230

#C1B230 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.4% C 0.143 H 102.5°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#C1B230
RGBrgb(193, 178, 48)
HSLhsl(54, 60%, 47%)
HSVhsv(54, 75%, 76%)
CMYKcmyk(0%, 7.8%, 75.1%, 24.3%)
CIE-LABlab(71.82, -8.75, 63.82)
CIE-LCHlch(71.82, 64.42, 97.81°)
OKLaboklab(75.41% -0.031 0.14)
OKLCHoklch(75.41% 0.143 102.5)
XYZxyz(38.4480, 43.3933, 9.1463)
Luminance0.4339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1B230 #303FC1
analogous
#C16930 #C1B230 #88C130
triadic
#C1B230 #30C1B2 #B230C1
tetradic
#C1B230 #30C169 #303FC1 #C13088
square
#C1B230 #30C169 #303FC1 #C13088
split-complementary
#C1B230 #3088C1 #6930C1
monochromatic
#5F5818 #908524 #C1B230 #D6C959 #E2D98A

Accessibility & contrast

On white

2.17
#C1B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#C1B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C1B230
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1B230#FFFFFF#000000##000000
##C1B2301.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC15
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#D0A599
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c1b230;
/* rgb */ color: rgb(193, 178, 48);
/* oklch */ color: oklch(75.4% 0.143 102.5);
Tailwind
colors: {
  custom: {
    50: '#d8c872',
    500: '#c1b230',
    950: '#000000',
  },
}
SCSS
$custom: #c1b230;
$custom-light: #d8c872;
$custom-dark: #000000;
JSON
{
  "hex": "#c1b230",
  "rgb": {
    "r": 193,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 53.793,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75409,
    "c": 0.14343,
    "h": 102.5
  },
  "luminance": 0.43392
}

Semantic roles & 50–950 ramp

primary
#C1B230
secondary
#8189CC
accent
#55E344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #C1B230

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

Preview Lab → · Contrast checker → · Palette generator →

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