#C8BF3A#C8BF3A

#C8BF3A is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.9% C 0.148 H 105.4°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#C8BF3A
RGBrgb(200, 191, 58)
HSLhsl(56, 56%, 51%)
HSVhsv(56, 71%, 78%)
CMYKcmyk(0%, 4.5%, 71%, 21.6%)
CIE-LABlab(75.98, -11.97, 64.46)
CIE-LCHlch(75.98, 65.56, 100.52°)
OKLaboklab(78.88% -0.0395 0.143)
OKLCHoklch(78.88% 0.148 105.4)
XYZxyz(43.2157, 49.8481, 11.3474)
Luminance0.4985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF3A #3A43C8
analogous
#C8783A #C8BF3A #8AC83A
triadic
#C8BF3A #3AC8BF #BF3AC8
tetradic
#C8BF3A #3AC878 #3A43C8 #C83A8A
square
#C8BF3A #3AC878 #3A43C8 #C83A8A
split-complementary
#C8BF3A #3A8AC8 #783AC8
monochromatic
#6A651E #9A932B #C8BF3A #D5CF6A #E3DE9A

Accessibility & contrast

On white

1.91
#C8BF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#C8BF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF3A
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF3A#FFFFFF#000000##000000
##C8BF3A1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B823
Deuteranopia (green-blind)
#D3BE43
Tritanopia (blue-blind)
#D7B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8bf3a;
/* rgb */ color: rgb(200, 191, 58);
/* oklch */ color: oklch(78.9% 0.148 105.4);
Tailwind
colors: {
  custom: {
    50: '#dcd279',
    500: '#c8bf3a',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf3a;
$custom-light: #dcd279;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf3a",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 58
  },
  "hsl": {
    "h": 56.197,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78879,
    "c": 0.1483,
    "h": 105.4
  },
  "luminance": 0.49846
}

Semantic roles & 50–950 ramp

primary
#C8BF3A
secondary
#8F93CE
accent
#52E048
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16140A
muted
#84827C

Preview Lab

Preview with #C8BF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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