#CFB943#CFB943

#CFB943 is a light, vivid yellow. Relative luminance 0.484; OKLCH L 78.3% C 0.137 H 98.6°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#CFB943
RGBrgb(207, 185, 67)
HSLhsl(51, 59%, 54%)
HSVhsv(51, 68%, 81%)
CMYKcmyk(0%, 10.6%, 67.6%, 18.8%)
CIE-LABlab(75.06, -5.42, 60.26)
CIE-LCHlch(75.06, 60.50, 95.14°)
OKLaboklab(78.32% -0.0204 0.1354)
OKLCHoklch(78.32% 0.137 98.6)
XYZxyz(44.0962, 48.3707, 12.3229)
Luminance0.4837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB943 #4359CF
analogous
#CF7343 #CFB943 #9FCF43
triadic
#CFB943 #43CFB9 #B943CF
tetradic
#CFB943 #43CF73 #4359CF #CF439F
square
#CFB943 #43CF73 #4359CF #CF439F
split-complementary
#CFB943 #439FCF #7343CF
monochromatic
#796B1F #AA962B #CFB943 #DBCB74 #E8DDA5

Accessibility & contrast

On white

1.97
#CFB943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#CFB943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB943
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB943#FFFFFF#000000##000000
##CFB9431.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB433
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#DFACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfb943;
/* rgb */ color: rgb(207, 185, 67);
/* oklch */ color: oklch(78.3% 0.137 98.6);
Tailwind
colors: {
  custom: {
    50: '#e1cd7d',
    500: '#cfb943',
    950: '#000000',
  },
}
SCSS
$custom: #cfb943;
$custom-light: #e1cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb943",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 67
  },
  "hsl": {
    "h": 50.571,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78316,
    "c": 0.1369,
    "h": 98.6
  },
  "luminance": 0.48369
}

Semantic roles & 50–950 ramp

primary
#CFB943
secondary
#99A2D5
accent
#5EE345
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB943

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

Preview Lab → · Contrast checker → · Palette generator →

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